Remove unused function setHelpTarget()

Change-Id: I9f3338c79de627befc5eac71f2418f1014b08eeb
This commit is contained in:
Muhammet Kara 2020-10-06 12:43:59 +03:00 committed by Muhammet Kara
parent ff5ac284ba
commit 0da5c3a2d6
2 changed files with 0 additions and 22 deletions

View file

@ -1331,23 +1331,6 @@ L.Control.Menubar = L.Control.extend({
self._map.focus();
},
_onMouseEnter: function(e, item) {
var self = e.data.self;
var type = $(item).data('type');
if (type === 'unocommand') {
var unoCommand = $(item).data('uno');
self._map.setHelpTarget(unoCommand);
} else if (type === 'action') {
var id = $(item).data('id');
self._map.setHelpTarget('modules/online/menu/' + id);
}
},
_onMouseLeave: function(e) {
var self = e.data.self;
self._map.setHelpTarget(null);
},
_onKeyDown: function(e) {
var self = e.data.self;

View file

@ -113,7 +113,6 @@ L.Map = L.Evented.extend({
this._debugAlwaysActive = false; // disables the dimming / document inactivity when true
this._serverRecycling = false;
this._documentIdle = false;
this._helpTarget = null; // help page that fits best the current context
this._disableDefaultAction = {}; // The events for which the default handler is disabled and only issues postMessage.
this.showSidebar = false;
@ -1047,10 +1046,6 @@ L.Map = L.Evented.extend({
return this._textInput.canAcceptKeyboardInput();
},
setHelpTarget: function(page) {
this._helpTarget = page;
},
isSearching: function() {
return this._isSearching;
},