Merge pull request #234 from BeaudanBrown/fix-ttl-slider

Fix ttl slider
pull/237/head
sachaaaaa 6 years ago committed by GitHub
commit 2278155353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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