diff options
-rw-r--r-- | loleaflet/src/map/Map.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index d63d43b3a..9771e38d2 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -231,17 +231,15 @@ L.Map = L.Evented.extend({ // Show sidebar. if (this._docLayer && !window.mode.isMobile() && !window.mode.isTablet() && - (this._docLayer._docType === 'presentation' || this._docType === 'drawing')) { + (this._docLayer._docType === 'spreadsheet' || this._docLayer._docType === 'text')) { // Let the first page finish loading then load the sidebar. var map = this; setTimeout(function () { // This triggers all sidebar decks, so they would // be loaded and show rather quickly on first use. // Also, triggers sidebar window creation in the client. - map._socket.sendMessage('uno .uno:MasterSlidesPanel'); - map._socket.sendMessage('uno .uno:CustomAnimation'); - map._socket.sendMessage('uno .uno:SlideChangeWindow'); - map._socket.sendMessage('uno .uno:ModifyPage'); + map._socket.sendMessage('uno .uno:ViewSidebarStyles'); + map._socket.sendMessage('uno .uno:Sidebar'); }, 200); } }, this); |