diff --git a/WebContent/base/leaflet/L.Bugfixes.js b/WebContent/base/leaflet/L.Bugfixes.js index fc73c3786..c558b948c 100644 --- a/WebContent/base/leaflet/L.Bugfixes.js +++ b/WebContent/base/leaflet/L.Bugfixes.js @@ -19,4 +19,10 @@ or see http://www.gnu.org/licenses/agpl.txt. // [assorted bugfixes to Leaflet functions we use] -// none at the moment, thanks to Leaflet 0.4+ \ No newline at end of file +// bugfix for issue #892 of Leaflet +L.DomUtil.enableTextSelection = function () { + if( !document.onselectstart ) + return; + document.onselectstart = this._onselectstart; + this._onselectstart = null; +}; \ No newline at end of file