[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - loleaflet/src

Andras Timar andras.timar at collabora.com
Sun May 29 22:31:05 UTC 2016


 loleaflet/src/control/Control.Menubar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ae8d7292ddaf936b237f9a66887d34b28256013e
Author: Andras Timar <andras.timar at collabora.com>
Date:   Mon May 30 00:29:47 2016 +0200

    loleaflet: fix js lint error
    
    (cherry picked from commit 6b57831673a2b25395b90c0061a15c9c9870b7c0)

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 39bed65..d3d04d3 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