diff --git a/templates/main.js b/templates/main.js index b1e356c9..3e1734ac 100755 --- a/templates/main.js +++ b/templates/main.js @@ -198,6 +198,8 @@ function changeStyle(styleName, link) { {% endraw %} +var resourceVersion = document.currentScript.getAttribute('data-resource-version'); + {% if config.stylesheets_board %} {% raw %} @@ -578,7 +580,6 @@ function ready() { var post_date = "{{ config.post_date }}"; var max_images = {{ config.max_images }}; -var resourceVersion = document.currentScript.getAttribute('data-resource-version'); onReady(init);