forked from 0x2620/oxjs
use [0] instead of .[0]
This commit is contained in:
parent
fb6c956250
commit
969e0553b4
4 changed files with 8 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue