Skip to content
Snippets Groups Projects
Commit 299dae40 authored by Jared Hancock's avatar Jared Hancock
Browse files

pjax: Fix external links not to use PJAX

parent 671939b0
Branches
Tags
No related merge requests found
...@@ -353,6 +353,7 @@ class Format { ...@@ -353,6 +353,7 @@ class Format {
.'&auth='.$token; .'&auth='.$token;
// ALL link targets open in a new tab // ALL link targets open in a new tab
$a['target'] = '_blank'; $a['target'] = '_blank';
$a['class'] = 'no-pjax';
} }
// Images which are external are rewritten to <div // Images which are external are rewritten to <div
// data-src='url...'/> // data-src='url...'/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment