Permalink
Browse files

tweak window open

  • Loading branch information...
1 parent fecda72 commit 791cd6e71a070ceb90dd87b6c14e7341c6e8e8d0 @andrewtrusty andrewtrusty committed Jun 2, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 map.js
View
3 map.js
@@ -1,8 +1,7 @@
$(document).on('click', 'a', function(){
if (this.target === '_blank') {
- console.log('opening window..');
- window.open(this.href);
+ window.open(this.href, '_blank', 'location=yes');
return false;
}
});

0 comments on commit 791cd6e

Please sign in to comment.