Changeset 21418
- Timestamp:
- 08/03/2012 09:47:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/quicktags.dev.js
r21070 r21418 183 183 onclick = function(e) { 184 184 e = e || window.event; 185 var target = e.target || e.srcElement, i; 185 var target = e.target || e.srcElement, visible = target.clientWidth || target.offsetWidth, i; 186 187 // don't call the callback on pressing the accesskey when the button is not visible 188 if ( !visible ) 189 return; 186 190 187 191 // as long as it has the class ed_button, execute the callback
Note: See TracChangeset
for help on using the changeset viewer.