aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cover_photo_widget.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-12 21:11:28 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-12 21:11:28 +0100
commit8aabc6bc3dfccb85f44b5db4708a756124277e1e (patch)
treef14531513d44fdf0d181cdef8731ce1a908f2b9d /view/tpl/cover_photo_widget.tpl
parentd9ecca859150f9e9e4213eded9e3f8a69e57f4be (diff)
downloadvolse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.tar.gz
volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.tar.bz2
volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.zip
many dropdown and class fixes. still a long way to go...
Diffstat (limited to 'view/tpl/cover_photo_widget.tpl')
-rwxr-xr-xview/tpl/cover_photo_widget.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl
index bc1f421bd..f0c9d916f 100755
--- a/view/tpl/cover_photo_widget.tpl
+++ b/view/tpl/cover_photo_widget.tpl
@@ -15,7 +15,7 @@
$('main').css('margin-top', - $('nav').outerHeight(true) + 'px');
$('aside').css('padding-top', aside_padding_top - $('nav').outerHeight() + 'px');
$('section').css('padding-top', section_padding_top - $('nav').outerHeight() + 'px');
- $('.navbar-fixed-top').css('position', 'relative');
+ $('.navbar').removeClass('fixed-top');
$('main').css('opacity', 0);
$('header').hide();
}
@@ -32,7 +32,7 @@
$('main').css('opacity', 1);
$('aside').css('padding-top', aside_padding_top + 'px');
$('section').css('padding-top', section_padding_top + 'px');
- $('.navbar-fixed-top').css('position', '');
+ $('.navbar').addClass('fixed-top');
$('main').css('margin-top', '');
coverSlid = true;
}
@@ -47,7 +47,7 @@
$('aside').css('padding-top', aside_padding_top - $('nav').outerHeight() + 'px');
$('section').css('padding-top', section_padding_top - $('nav').outerHeight() + 'px');
- $('.navbar-fixed-top').css('position', 'relative');
+ $('.navbar').removeClass('fixed-top');
$('main').css('opacity', 0);
$('header').hide();
}
@@ -64,7 +64,7 @@
$('main').css('opacity', 1);
$('aside').css('padding-top', aside_padding_top + 'px');
$('section').css('padding-top', section_padding_top + 'px');
- $('.navbar-fixed-top').css('position', '');
+ $('.navbar').addClass('fixed-top');
coverSlid = true;
}