Skip to content

Commit f3cfbb7

Browse files
committed
remove location.href-redirect and let event take its course
1 parent f852447 commit f3cfbb7

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)