Anonymous

MediaWiki:Common.js: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Line 410: Line 410:
     $('.henir-stage').click(function (e) {
     $('.henir-stage').click(function (e) {
         e.preventDefault();
         e.preventDefault();
         var link = $(this).find('a').attr('href');
         var link = $(this).find('a:not(.tooltiptext a)').attr('href');
         //window.location.href = window.location.origin + link;
         //window.location.href = window.location.origin + link;
         window.open(window.location.origin + link)
         window.open(window.location.origin + link)