fix for issue #892 , second time around.
This commit is contained in:
parent
7f44313fad
commit
4ba1bbcdd7
@ -106,7 +106,7 @@ L.DomUtil = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
enableTextSelection: function () {
|
enableTextSelection: function () {
|
||||||
if (document.onselectstart === L.Util.falseFn) {
|
if (document.onselectstart === L.Util.falseFn && this._onselectstart) {
|
||||||
document.onselectstart = this._onselectstart;
|
document.onselectstart = this._onselectstart;
|
||||||
this._onselectstart = null;
|
this._onselectstart = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user