Merge branch 'v3'
Conflicts: builds/appchan-x.user.js builds/crx/script.js
This commit is contained in:
commit
0f5365263d
@ -11365,7 +11365,9 @@
|
|||||||
var enabled;
|
var enabled;
|
||||||
enabled = Conf['prefetch'] = this.checked;
|
enabled = Conf['prefetch'] = this.checked;
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
g.BOARD.posts.forEach(ImageLoader.node.call);
|
g.BOARD.posts.forEach(function(post) {
|
||||||
|
return ImageLoader.node.call(post);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -11380,7 +11380,9 @@
|
|||||||
var enabled;
|
var enabled;
|
||||||
enabled = Conf['prefetch'] = this.checked;
|
enabled = Conf['prefetch'] = this.checked;
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
g.BOARD.posts.forEach(ImageLoader.node.call);
|
g.BOARD.posts.forEach(function(post) {
|
||||||
|
return ImageLoader.node.call(post);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -64,5 +64,5 @@ ImageLoader =
|
|||||||
toggle: ->
|
toggle: ->
|
||||||
enabled = Conf['prefetch'] = @checked
|
enabled = Conf['prefetch'] = @checked
|
||||||
if enabled
|
if enabled
|
||||||
g.BOARD.posts.forEach ImageLoader.node.call
|
g.BOARD.posts.forEach (post) -> ImageLoader.node.call post
|
||||||
return
|
return
|
||||||
Loading…
x
Reference in New Issue
Block a user