forked from 0x2620/oxjs
make (almost all of) form demo work again
This commit is contained in:
parent
b0e5e906f5
commit
c5408a6656
11 changed files with 37 additions and 26 deletions
|
|
@ -944,10 +944,10 @@ Ox.Map = function(options, self) {
|
|||
function updateFormElements() {
|
||||
var width = that.width();
|
||||
self.$zoomInput && constructZoomInput();
|
||||
self.$placeNameInput.options({
|
||||
self.$placeNameInput && self.$placeNameInput.options({
|
||||
width: Math.floor((width - 112) / 2)
|
||||
});
|
||||
self.$placeGeonameInput.options({
|
||||
self.$placeGeonameInput && self.$placeGeonameInput.options({
|
||||
width: Math.ceil((width - 112) / 2)
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue