1
0
Fork 0
forked from 0x2620/oxjs

make (almost all of) form demo work again

This commit is contained in:
rolux 2011-05-12 06:15:01 +02:00
commit c5408a6656
11 changed files with 37 additions and 26 deletions

View file

@ -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)
});
}