summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loleaflet/src/map/Map.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 1828fabb7..6513f40ac 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -257,17 +257,15 @@ L.Map = L.Evented.extend({
// Show sidebar.
if (this._docLayer && !window.mode.isMobile() && !window.mode.isTablet() &&
- (this._docLayer._docType === 'spreadsheet' || this._docType === 'text')) {
+ (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);