We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61df5fb commit 13fc036Copy full SHA for 13fc036
1 file changed
utils/hot.js
@@ -18,7 +18,7 @@ if (typeof window === 'object') {
18
try {
19
var update = JSON.parse(request.responseText);
20
var c = update.c;
21
- if (!c || JSON.stringify(c) === '{}' || JSON.stringify(c) === '{"0":true}') {
+ if (!c || JSON.stringify(c) === '{}' || /:true/.test(JSON.stringify(c))) {
22
var links = document.getElementsByTagName('link');
23
for (var i = 0; i < links.length; i++) {
24
var href = links[i].href;
0 commit comments