Merge pull request #1193 from lookfirst/issue-892-2
fix for issue #892 , second time around.
This commit is contained in:
commit
7e029d21cc
@ -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