1
0
Fork 0
forked from 0x2620/oxjs

use [0] instead of .[0]

This commit is contained in:
rolux 2012-06-26 18:01:47 +02:00
commit 969e0553b4
4 changed files with 8 additions and 8 deletions

View file

@ -860,7 +860,7 @@ Ox.Map = function(options, self) {
self.center = mapBounds ? mapBounds.getCenter() : new google.maps.LatLng(0, 0);
self.zoom = self.minZoom;
that.map = self.map = new google.maps.Map(self.$map.$element[0], {
that.map = self.map = new google.maps.Map(self.$map[0], {
center: self.center,
disableDefaultUI: true,
disableDoubleClickZoom: true,