mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
deprecated server side templates finally. code sharing between client side and server side templates; force_refresh parameter added to temasd
deprecated server side templates finally. code sharing between client side and server side templates; force_refresh parameter added to templates config.json; created initialization fn for webserver
This commit is contained in:
@@ -39,7 +39,7 @@ var ajaxify = {};
|
||||
tpl_url = url;
|
||||
}
|
||||
|
||||
if (templates[tpl_url]) {
|
||||
if (templates[tpl_url] && !templates.force_refresh(tpl_url)) {
|
||||
if (quiet !== true) {
|
||||
window.history.pushState({
|
||||
"url": url
|
||||
|
||||
Reference in New Issue
Block a user