Use constant for CSS class 'ol-unselectable'.

This commit is contained in:
Marc Jansen
2013-03-11 17:01:42 +01:00
parent 837aa7512b
commit 5e5e4d110a
7 changed files with 22 additions and 7 deletions

View File

@@ -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';