Skip to content

Commit 7b51d7e

Browse files
Merge pull request #678 from megri/issue-644
remove location.href-redirect and let event take its course
2 parents 532bdb1 + f3cfbb7 commit 7b51d7e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

resources/js/main.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,7 @@ _gaq.push(['_trackPageview']);
451451
})();
452452
var f = function(event){
453453
var href = $(this).attr('href');
454-
var target = $(this).attr('target');
455454
_gaq.push(['_trackEvent','Downloads','Download',href]);
456-
if (target === undefined || target.toLowerCase() != '_blank') {
457-
setTimeout(function() { location.href = href; }, 200);
458-
return false;
459-
}
460455
};
461456
function endsWith(str, suffix) {
462457
if (str && suffix)

0 commit comments

Comments
 (0)