somebody was trying to save trees by reducing whitespace

burn the trees
v1.18.x
psychobunny 10 years ago
parent 26245133f3
commit 32ce785e5a

@ -1,5 +1,7 @@
'use strict';
/*globals translator*/
if ('undefined' !== typeof window) {
@ -92,7 +94,8 @@ if ('undefined' !== typeof window) {
.off('click.data-api.dropdown', _clearMenus)
.on('click.data-api.dropdown', function (e) {
// call the handler only when not right-click
e.button === 2 || _clearMenus();
if (e.button !== 2) {
_clearMenus();
}
});
}

Loading…
Cancel
Save