File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 104
104
this . paging_opts . per_page_class = [ 'st_per_page' , opts . per_page_class ] . join ( ' ' ) ;
105
105
this . opts . pagination = this . paging_opts ;
106
106
107
- $ ( this . main_container ) . after ( '<div class="' + this . paging_opts . container_class + '"></div>' ) ;
107
+ var html = '<div class="' + this . paging_opts . container_class + '"></div>' ;
108
+
109
+ if ( this . paging_opts . container ) {
110
+ $ ( this . paging_opts . container ) . html ( html ) ;
111
+ } else {
112
+ $ ( this . main_container ) . after ( html ) ;
113
+ }
108
114
109
115
this . $pagination = $ ( '.' + p_classes . join ( '.' ) ) ;
110
116
} ;
188
194
if ( ! this . textFunc ) {
189
195
this . textFunc = this . _makeTextFunc ( data [ 0 ] ) ;
190
196
}
191
- console . log ( this . textFunc )
192
197
193
198
for ( i ; i < l ; i ++ ) {
194
199
this . text_index . push ( this . textFunc ( data [ i ] ) . toUpperCase ( ) ) ;
You can’t perform that action at this time.
0 commit comments