2170_anonfuncs.diff: created functions returning true and false instead of using anonymous functions all over. p=rcoup, r=me (see #2170)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9759 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -265,7 +265,7 @@ OpenLayers.Control = OpenLayers.Class({
|
||||
if (!this.allowSelection) {
|
||||
this.div.className += " olControlNoSelect";
|
||||
this.div.setAttribute("unselectable", "on", 0);
|
||||
this.div.onselectstart = function() { return(false); };
|
||||
this.div.onselectstart = OpenLayers.Function.False;
|
||||
}
|
||||
if (this.title != "") {
|
||||
this.div.title = this.title;
|
||||
|
||||
Reference in New Issue
Block a user