[Libreoffice-commits] online.git: loleaflet/src
Andras Timar
andras.timar at collabora.com
Sun May 29 22:30:37 UTC 2016
loleaflet/src/control/Control.Menubar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6b57831673a2b25395b90c0061a15c9c9870b7c0
Author: Andras Timar <andras.timar at collabora.com>
Date: Mon May 30 00:29:47 2016 +0200
loleaflet: fix js lint error
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 18cd0ab..5eab099 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -198,7 +198,7 @@ L.Control.Menubar = L.Control.extend({
if (id === 'fullscreen' && (msie > 0 || trident > 0)) { // Full screen works weirdly on IE 11
$(aItem).addClass('disabled');
var index = self.options.allowedViewModeActions.indexOf('fullscreen');
- if(index > 0) {
+ if (index > 0) {
self.options.allowedViewModeActions.splice(index, 1);
}
}
More information about the Libreoffice-commits
mailing list