Changes

From Life After BOB Wiki
no edit summary
Line 4: Line 4:       −
$( '.external' ).on( 'click', 'a', function (e) {
+
$( '.portable-infobox' ).on( 'click', '.external a', function (e) {
 
                 e.preventDefault();  
 
                 e.preventDefault();  
 
                 console.log("external url");
 
                 console.log("external url");
 
var otherWindow = window.open();
 
var otherWindow = window.open();
otherWindow.opener = null;
+
//otherWindow.opener = null;
otherWindow.location = this;
+
//otherWindow.location = this;
return false;
+
//return false;
 
} );
 
} );