diff --git a/app/ui/expiryOptions.js b/app/ui/expiryOptions.js index b301e600..0a3268a6 100644 --- a/app/ui/expiryOptions.js +++ b/app/ui/expiryOptions.js @@ -42,7 +42,8 @@ module.exports = function(state, emit) { } state.downloadCount = value; emit('render'); - } + }, + 'expire-after-dl-count-dropdown' ), dlCountSelect ); @@ -68,7 +69,8 @@ module.exports = function(state, emit) { } state.timeLimit = value; emit('render'); - } + }, + 'expire-after-time-dropdown' ), timeSelect ); diff --git a/app/ui/selectbox.js b/app/ui/selectbox.js index e1f7a040..3f66496b 100644 --- a/app/ui/selectbox.js +++ b/app/ui/selectbox.js @@ -1,10 +1,11 @@ const html = require('choo/html'); -module.exports = function(selected, options, translate, changed) { +module.exports = function(selected, options, translate, changed, htmlId) { let x = selected; return html`