File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 99
99
module . bind . events ( ) ;
100
100
101
101
if ( settings . history && ! initializedHistory ) {
102
- module . initializeHistory ( ) ;
102
+ settings . history = module . initializeHistory ( ) ;
103
103
initializedHistory = true ;
104
104
}
105
105
109
109
module . debug ( 'No active tab detected, setting tab active' , activeTab ) ;
110
110
module . changeTab ( activeTab ) ;
111
111
}
112
- if ( activeTab !== null && settings . history ) {
112
+ if ( activeTab !== null && settings . history && settings . historyType === 'state' ) {
113
113
var autoUpdate = $ . address . autoUpdate ( ) ;
114
114
$ . address . autoUpdate ( false ) ;
115
115
$ . address . value ( activeTab ) ;
202
202
$ . address
203
203
. bind ( 'change' , module . event . history . change )
204
204
;
205
+
206
+ return true ;
205
207
} ,
206
208
207
209
event : {
You can’t perform that action at this time.
0 commit comments