mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
added a way to disable ajaxify on links manually if needed.
This commit is contained in:
@@ -120,6 +120,10 @@ var ajaxify = {};
|
||||
if(!window.location.pathname.match(/\/(403|404)$/g))
|
||||
app.previousUrl = window.location.href;
|
||||
|
||||
if (this.getAttribute('data-ajaxify') == 'false') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!e.ctrlKey && e.which === 1) {
|
||||
if (this.host === window.location.host) {
|
||||
// Internal link
|
||||
|
||||
Reference in New Issue
Block a user