somebody was trying to save trees by reducing whitespace

burn the trees
This commit is contained in:
psychobunny
2015-02-25 19:16:24 -05:00
parent 26245133f3
commit 32ce785e5a

View File

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