fix: Move input trigger out of local storage block, so it still loads the UI even if we have no storage

Fixes #161
master
Mike Bryant 5 years ago
parent 5485f6813b
commit f6afb113ee

@ -77,11 +77,12 @@ const initialize = function () {
} else { } else {
fillFields(prices, first_buy, previous_pattern) fillFields(prices, first_buy, previous_pattern)
} }
$(document).trigger("input");
} catch (e) { } catch (e) {
console.error(e); console.error(e);
} }
$(document).trigger("input");
$("#permalink-btn").on("click", copyPermalink) $("#permalink-btn").on("click", copyPermalink)
$("#reset").on("click", function () { $("#reset").on("click", function () {

Loading…
Cancel
Save