misc: don't play with DOM for responsiveness (#9326)

The #acces block would get removed and not reinserted correctly...
This commit is contained in:
Frédéric Péters 2015-12-14 15:57:48 +01:00
parent 31d43cec1b
commit 717eb71c2f
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function layouting() {
} else {
if (window.matchMedia('(min-width: 992px)').matches) {
$("#nav").detach().insertBefore('#main-content');
$("#access").detach().insertBefore('#main');
$("#access").show();
$("#events").detach().appendTo('#col-right > .row');
$("#promo").detach().insertAfter('#events');
$("#procedures").detach().appendTo('#header');
@ -34,6 +34,7 @@ function layouting() {
$("#procedures").detach().insertAfter('#navigation');
$("#events").detach().insertAfter('#main');
$("#access").hide();
$("#access").detach().insertAfter('#events');
$("#right_bar").detach().insertAfter('#access');
$("#promo").detach().insertAfter('#right_bar');