forked from leftypol/leftypol
main.js: fix undefined version
This commit is contained in:
parent
4029ec5ba4
commit
8b5b710cc1
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue