fix for issue #892 , second time around.

This commit is contained in:
Jon Stevens 2012-11-30 12:03:20 -08:00
parent 7f44313fad
commit 4ba1bbcdd7

View File

@ -106,7 +106,7 @@ L.DomUtil = {
},
enableTextSelection: function () {
if (document.onselectstart === L.Util.falseFn) {
if (document.onselectstart === L.Util.falseFn && this._onselectstart) {
document.onselectstart = this._onselectstart;
this._onselectstart = null;
}