Commit c93cbc27 by tady (Masato TADA)

Merge pull request #114 from tadyjp/target-blank

[Review] open link in new tab
parents 841659f2 a2514d54
# Desc
# open link in newtab
# Usage:
$ ->
$('a[href^=http]')
.not('[href*="' + location.hostname + '"]')
.attr({target:"_blank"})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment