aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-09-14 10:00:24 +0000
committerMario <mario@mariovavti.com>2023-09-14 10:00:24 +0000
commit526c85e2ca5f4ab60b6a922f4829f3d8126a6571 (patch)
tree4981222f08fd45198b1c025e474f12eb04620e43 /view/theme/redbasic
parent8a21c8e618023cc0fb35a843697871649610b079 (diff)
downloadvolse-hubzilla-526c85e2ca5f4ab60b6a922f4829f3d8126a6571.tar.gz
volse-hubzilla-526c85e2ca5f4ab60b6a922f4829f3d8126a6571.tar.bz2
volse-hubzilla-526c85e2ca5f4ab60b6a922f4829f3d8126a6571.zip
fix minor regression after recent changes
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r--view/theme/redbasic/js/redbasic.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 28fb73845..4ad3665fe 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -134,7 +134,7 @@ $(document).ready(function() {
//just one finger touched
touch_start = e.touches.item(0).clientX;
if (touch_start < touch_max) {
- $('html, body').css('overflow-y', 'hidden');
+ $('body').css('overflow-y', 'hidden');
}
}
else {
@@ -144,7 +144,7 @@ $(document).ready(function() {
});
window.addEventListener('touchend', function(e) {
- $('html, body').css('overflow-y', '');
+ $('body').css('overflow-y', '');
let touch_offset = 30; //at least 30px are a swipe
if (touch_start) {
@@ -159,7 +159,6 @@ $(document).ready(function() {
}
if (touch_end < (touch_start - touch_offset)) {
//a right -> left swipe
- //toggleAside('left');
}
}
});