the answer is in this topic :
https://community.nodebb.org/topic/11906/add-a-class-to-the-body-if-the-template-is-404/3
Error: Browser's Cache not cleared
-
map.tpl
<button type="button" id="btnSet">Settings</button>
Client-side map.js
$("#btnSet").click(function() { console.log("Settings clicked"); });
Chrome browser
console.log("Settings clicked");
not executedFirefox browser
console.log("Settings clicked");
executedBack to Chrome browser
Cleared the Browser Cache
Ran the program and console.log executed this timeWhere does the problem lie? Is this a browser-specific problem or NodeBB error?
Can we clear the cache from the ACP? Even if this setting is there, this problem should probably not be there.
-
The modified map.js is not reloaded in the browser's memory. Probably, this is the source of error.
-
Browsers control the cache. If you want to develop without worrying about it, there is a toggle in the developer tools settings for both browsers to disable the cache whole the dev tools are open.
-
Thanks Pita