mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
parent
f2bee9d9ff
commit
7948059c91
1 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ jQuery(function($) {
|
|||
var $this = $(this);
|
||||
var href = $this.attr('href');
|
||||
var target = $this.attr('target');
|
||||
if (target === '_top' || target === '_self' || target === '_parent') {
|
||||
if (!href || !target || target === '_top' || target === '_self' || target === '_parent') {
|
||||
return;
|
||||
}
|
||||
if (!window.XE.isSameHost(href)) {
|
||||
|
|
@ -242,7 +242,7 @@ jQuery(function($) {
|
|||
var $this = $(this);
|
||||
var href = $this.attr('href');
|
||||
var target = $this.attr('target');
|
||||
if (target === '_top' || target === '_self' || target === '_parent') {
|
||||
if (!href || !target || target === '_top' || target === '_self' || target === '_parent') {
|
||||
return;
|
||||
}
|
||||
if (!window.XE.isSameHost(href)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue