File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 63
63
64
64
// Figure out how many sliders are on the page for indexing
65
65
base . runTimes = $ ( '.anythingBase' ) . length ;
66
- base . regex = new RegExp ( 'panel' + base . runTimes + '-(\\d+)' , 'i' ) ; // hash tag regex
66
+ // hash tag regex - fixes issue #432
67
+ base . regex = ( o . hashTags ) ? new RegExp ( 'panel' + base . runTimes + '-(\\d+)' , 'i' ) : null ;
67
68
if ( base . runTimes === 1 ) { base . makeActive ( ) ; } // make the first slider on the page active
68
69
69
70
// Set up a few defaults & get details
712
713
i = h . indexOf ( '&' ) ,
713
714
n = h . match ( base . regex ) ;
714
715
// test for "/#/" or "/#!/" used by the jquery address plugin - $('#/') breaks jQuery
715
- if ( n === null && ! / ^ # & / . test ( h ) && ! / # ! ? \/ / . test ( h ) ) {
716
+ if ( n === null && ! / ^ # & / . test ( h ) && ! / # ! ? \/ / . test ( h ) && ! / = / . test ( h ) ) {
716
717
// #quote2&panel1-3&panel3-3
717
718
h = h . substring ( 0 , ( i >= 0 ? i : h . length ) ) ;
718
719
// ensure the element is in the same slider
You can’t perform that action at this time.
0 commit comments