Created
August 28, 2017 14:00
-
-
Save Bizunow/1e6de8553ccdb3cebd901fc366893cf6 to your computer and use it in GitHub Desktop.
[Open link in new tab] #js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function openInNewTab(url) { | |
var win = window.open(url, '_blank'); | |
win.focus(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment