removed a few chars from condition. Thx @jeffreyway for suggestions on the last few commits.

This commit is contained in:
scottjehl 2010-10-27 16:27:10 -04:00
parent d26877fc22
commit d42aace51c

View file

@ -135,7 +135,7 @@
nextPageRole = $this.attr( "data-rel" );
//if it's a relative href, prefix href with base url
if( href.indexOf('/') !== 0 && href.indexOf('#') !== 0 ){
if( href.indexOf('/') && href.indexOf('#') !== 0 ){
href = getBaseURL() + href;
}