Made the slider label populate as well, plus removed redundant window function

pull/234/head
Beaudan 6 years ago
parent 55e0ff1a88
commit 5030ad4021

@ -71,6 +71,7 @@
},
populate() {
this.$('input').val(this.value);
this.$('label').html(`${this.value} Hours`);
},
});

@ -160,7 +160,6 @@ installGetter('hide-menu-bar', 'getHideMenuBar');
installSetter('hide-menu-bar', 'setHideMenuBar');
// Get the message TTL setting
window.getMessageTTL = () => window.storage.get('message-ttl', 24);
installGetter('message-ttl', 'getMessageTTL');
installSetter('message-ttl', 'setMessageTTL');

Loading…
Cancel
Save