Bug fix for redirecting nulls

This commit is contained in:
斟酌 鵬兄 2015-08-31 15:07:55 +08:00
parent 9042975e28
commit 22c0e5782e

View File

@ -53,12 +53,15 @@
formatted.appendChild( nLine ); formatted.appendChild( nLine );
formatted.addEventListener( if( elem.getDAttribute( "href" ) )
"click" {
, function( e ) { formatted.addEventListener(
window.location = this.loc; "click"
}.bind({ loc: elem.getDAttribute( "href" ) }) , function( e ) {
); window.location = this.loc;
}.bind({ loc: elem.getDAttribute( "href" ) })
);
}
len -= opLen; len -= opLen;
}; };