MAPG-116 don't show loading when no real link clicked
This commit is contained in:
1 parent
4af6f07ce1
commit
a70d59ed95
2 files changed
+2
-2
No files matched your search
@@ -3,7 +3,7 @@
|
||||
var anchors = document.getElementsByTagName('a');
|
||||
for (var i = 0; i < anchors.length; i++) {
|
||||
var a = anchors[i];
|
||||
if (a.target !== '_blank') {
|
||||
if (a.href !== 'javascript:;' && a.target !== '_blank') {
|
||||
a.onclick = function () {
|
||||
document.getElementById('loading').style.visibility = 'visible';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user