loleaflet/src/control/Control.Tabs.js |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6233a9b4b88ac05369645a46caf3a034128ea3ac
Author: Henry Castro <hcas...@collabora.com>
Date:   Sun May 20 12:04:24 2018 -0400

    loleaflet: avoid unnecessary "map" global variable in Control.Tabs.js
    
    Change-Id: I699f3e9c99c82e4f7765c2870c956fa1d4b90bef

diff --git a/loleaflet/src/control/Control.Tabs.js 
b/loleaflet/src/control/Control.Tabs.js
index 8295f2fd6..4ede783ad 100644
--- a/loleaflet/src/control/Control.Tabs.js
+++ b/loleaflet/src/control/Control.Tabs.js
@@ -2,7 +2,7 @@
  * L.Control.Tabs is used to switch sheets in Calc
  */
 
-/* global $ vex _ _UNO map */
+/* global $ vex _ _UNO */
 L.Control.Tabs = L.Control.extend({
        onAdd: function(map) {
                map.on('updatepermission', this._onUpdatePermission, this);
@@ -26,6 +26,7 @@ L.Control.Tabs = L.Control.extend({
                this._initialized = true;
                this._tabsInitialized = false;
                this._spreadsheetTabs = {};
+               var map = this._map;
                var docContainer = map.options.documentContainer;
                this._tabsCont = L.DomUtil.create('div', 
'spreadsheet-tabs-container', docContainer.parentElement);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to