diff --git a/index.html b/index.html
index 20580b3..3b93d2f 100644
--- a/index.html
+++ b/index.html
@@ -325,7 +325,7 @@
Multisig addresses
-
+
There are no multisig addresses created, use the button below to create one.
@@ -503,12 +503,6 @@
If this toggle is ON then pressing 'Enter' key will send messages
-
-
-
Haptic feedback
-
Turn haptic feedback (vibrations) on/off.
-
-
@@ -1199,30 +1193,6 @@
notify('We are back online.', 'success')
location.reload()
})
-
- let isHapticOn
- if (getRef('haptic_feedback_switcher')) {
- if (localStorage.getItem('haptic') === null)
- localStorage.setItem("haptic", "on");
-
- if (localStorage.haptic === "on") {
- isHapticOn = true
- getRef('haptic_feedback_switcher').checked = true;
- } else {
- isHapticOn = false
- getRef('haptic_feedback_switcher').checked = false;
- }
- getRef('haptic_feedback_switcher').addEventListener('change', function (e) {
- if (this.checked) {
- isHapticOn = true
- localStorage.setItem("haptic", "on");
- }
- else {
- isHapticOn = false
- localStorage.setItem("haptic", "off");
- }
- })
- }
// Use instead of document.getElementById
function getRef(elementId) {
if (!domRefs.hasOwnProperty(elementId)) {
@@ -3110,8 +3080,6 @@
getRef('chats_list').addEventListener('touchstart', e => {
if (e.target.closest('.contact')) {
holdTimeout = setTimeout(() => {
- if (isHapticOn)
- navigator.vibrate(100)
let contact = e.target.closest(".contact")
clickedContact['chatCard'] = contact
clickedContact['floID'] = contact.dataset.floId
@@ -3672,7 +3640,6 @@
}
function scrollToBottom(smooth = false) {
- console.log('scrolling to bottom')
if (activeChat.floID) {
messenger.removeMark(activeChat.floID, 'unread')
if (getChatCard(activeChat.floID))