Fix the examples that used our '$' method.

This commit is contained in:
Marc Jansen
2012-03-05 22:27:43 +01:00
parent de2eeaab0b
commit 5c2c39c9dd
12 changed files with 20 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ geolocate.events.register("locationupdated",geolocate,function(e) {
geolocate.events.register("locationfailed",this,function() {
OpenLayers.Console.log('Location detection failed');
});
var $ = OpenLayers.Util.getElement;
$('locate').onclick = function() {
vector.removeAllFeatures();
geolocate.deactivate();