diff --git a/js/scripts.js b/js/scripts.js index f9c834f..e13b254 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -77,11 +77,12 @@ const initialize = function () { } else { fillFields(prices, first_buy, previous_pattern) } - $(document).trigger("input"); } catch (e) { console.error(e); } + $(document).trigger("input"); + $("#permalink-btn").on("click", copyPermalink) $("#reset").on("click", function () {