move search motion to fullscreen view
This commit is contained in:
parent
66d045df05
commit
125b799b64
1 changed files with 4 additions and 4 deletions
|
@ -188,6 +188,9 @@ View.Fullscreen = function (wardrobe) {
|
||||||
|
|
||||||
preview_el.height(available.height);
|
preview_el.height(available.height);
|
||||||
|
|
||||||
|
// If the footer goes onto two lines, nudge search up.
|
||||||
|
search_el.css('bottom', $('#footer').height());
|
||||||
|
|
||||||
// Now that preview is fit, we fit the sidebar's content element, which
|
// Now that preview is fit, we fit the sidebar's content element, which
|
||||||
// also has to deal with the constraint of its navbar's height.
|
// also has to deal with the constraint of its navbar's height.
|
||||||
var sidebar_content_height = available.height -
|
var sidebar_content_height = available.height -
|
||||||
|
@ -1108,9 +1111,6 @@ View.Search = function (wardrobe) {
|
||||||
loadOffset(last_request.offset);
|
loadOffset(last_request.offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the footer goes onto two lines, nudge search up.
|
|
||||||
form.css('bottom', $('#footer').height());
|
|
||||||
}
|
}
|
||||||
$(window).resize(updatePerPage).load(updatePerPage);
|
$(window).resize(updatePerPage).load(updatePerPage);
|
||||||
updatePerPage();
|
updatePerPage();
|
||||||
|
|
Loading…
Reference in a new issue