|
|
|
@ -22,8 +22,7 @@ console.log( "=== READY ===" ) ; |
|
|
|
|
$(this).click( function(evt) { |
|
|
|
|
var url = $(this).attr( "href" ) ; |
|
|
|
|
console.log( "click:", url ) ; |
|
|
|
|
alert( url ) ; |
|
|
|
|
if ( url[0] !== "#" && url.substring(0,16) !== "http://localhost" && url.substring(0,16) !== "http://127.0.0.1" && url.substring(0,21) !== "code.pacman-ghost.com" ) { |
|
|
|
|
if ( url[0] !== "#" && url.substring(0,16) !== "http://localhost" && url.substring(0,16) !== "http://127.0.0.1" && url.indexOf( "code.pacman-ghost.com" ) === -1 ) { |
|
|
|
|
window.open( url ) ; |
|
|
|
|
evt.preventDefault() ; |
|
|
|
|
return false ; |
|
|
|
|