Use constant for CSS class 'ol-unselectable'.
This commit is contained in:
@@ -7,3 +7,11 @@ if (goog.DEBUG) {
|
||||
var logger = goog.debug.Logger.getLogger('ol');
|
||||
logger.setLevel(goog.debug.Logger.Level.FINEST);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The CSS class that we'll give the DOM elements to have them unselectable.
|
||||
*
|
||||
* @const {string}
|
||||
*/
|
||||
ol.CSS_CLASS_UNSELECTABLE = 'ol-unselectable';
|
||||
|
||||
Reference in New Issue
Block a user