aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-03-25 15:27:45 +0100
committermarijus <mario@mariovavti.com>2014-03-25 15:27:45 +0100
commit89b573a6f3b7409ba9f8ba9fe41ed06b8106836b (patch)
tree4ec44719a881d675f62e2556507cdecc67c3fdf1 /view/theme/redbasic
parent50a7e9ce8fe30959d6e4343e8fdafaeca1e7856c (diff)
downloadvolse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.tar.gz
volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.tar.bz2
volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.zip
fix lock permissions view and autoload not kicking in on touch devices under certain conditions
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r--view/theme/redbasic/css/style.css9
-rw-r--r--view/theme/redbasic/js/redbasic.js3
2 files changed, 3 insertions, 9 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 6a4f836b1..edc8eebbb 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -113,15 +113,6 @@ blockquote {
padding: 5px;
}
-#panel {
- background-color: ivory;
- position: absolute;
- z-index: 2;
- width: 30%;
- padding: 25px;
- border: 1px solid #444;
-}
-
.heart {
color: #FF0000;
font-size: 100%;
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index c58711e94..70869f44b 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -30,6 +30,9 @@ if ($('aside').html().length == 0) {
}
$('#expand-tabs').click(function() {
+ if(!$('#tabs-collapse-1').hasClass('in')){
+ $('html, body').animate({ scrollTop: 0 }, 'slow');
+ }
$('#expand-tabs-icon').toggleClass('icon-circle-arrow-down').toggleClass('icon-circle-arrow-up');
});