diff --git a/www/assets/css/app.css b/www/assets/css/app.css
index f075b74..08d4b68 100644
--- a/www/assets/css/app.css
+++ b/www/assets/css/app.css
@@ -23,7 +23,7 @@ Framework7 and FontAwesome both have a .fab class
padding-bottom: var(--f7-fab-size);
}
-.navbar, .item-link .item-title, .item-divider, .item-label, .noselect {
+.navbar, .item-link .item-title, .item-media, .item-divider, .item-label, .fab, .button, .noselect {
user-select: none;
}
diff --git a/www/assets/js/main.js b/www/assets/js/main.js
index 8a4eb71..26b1e5f 100644
--- a/www/assets/js/main.js
+++ b/www/assets/js/main.js
@@ -48,6 +48,12 @@ router.on("pageInit", function (pagedata) {
eval($$(this).text());
}
});
+ // Stop text selection from popping a system toolbar even after changing pages
+ if (window.getSelection) {
+ window.getSelection().removeAllRanges();
+ } else if (document.selection) {
+ document.selection.empty();
+ }
});
/**
@@ -66,6 +72,12 @@ function handleBackButton() {
} else {
router.back({force: true, ignoreCache: true});
}
+ // Stop text selection from popping a system toolbar even after changing pages
+ if (window.getSelection) {
+ window.getSelection().removeAllRanges();
+ } else if (document.selection) {
+ document.selection.empty();
+ }
}
$(document).keyup(function (e) {
diff --git a/www/pages/add.html b/www/pages/add.html
index 6144f76..b943e96 100644
--- a/www/pages/add.html
+++ b/www/pages/add.html
@@ -150,14 +150,14 @@
+
No recently added items! Swipe to add some.
-
diff --git a/www/pages/home.html b/www/pages/home.html
index 317fe2a..9001bdc 100644
--- a/www/pages/home.html
+++ b/www/pages/home.html
@@ -11,7 +11,7 @@
-