Skip to content

Commit 305d93d

Browse files
committed
disable App.refresh() from page templates
Former-commit-id: 74fc14f
1 parent c91069f commit 305d93d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

views/issue/_cover.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
App.pages = App.pages || {}
3232

3333
// Not sure why layout is not being set.
34-
App.refresh()
34+
// App.refresh()
35+
3536
App.pages["index"] = {
3637
handle: "index",
3738
title: "<%= issue.title %>"

views/issue/_page.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
App.pages = App.pages || {}
6868

6969
// Not sure why layout is not being set.
70-
App.refresh()
70+
// App.refresh()
7171

7272
App.pages["<%= page.path %>"] = <%= page.json.to_json %>;
7373

views/issue/_toc.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
App.pages = App.pages || {}
6666

6767
// Not sure why layout is not being set.
68-
App.refresh()
68+
// App.refresh()
6969

7070
App.pages["<%= page.path %>"] = {
7171
id: "<%= page.id %>",

0 commit comments

Comments
 (0)