File tree Expand file tree Collapse file tree
src/content/engines/integrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11( function ( ) {
22 if ( ! window . __servarrEngines ) window . __servarrEngines = { list : [ ] , helpers : { } } ;
3-
3+
44 var Def = window . __servarrEngines . helpers . DefaultEngine ;
55
66 var TV = Def ( {
1111 containerSelector : 'h1' ,
1212 insertWhere : 'prepend' ,
1313 iconStyle : 'width: 30px; margin: 0 10px 0 0;' ,
14- getSearch : function ( _el , doc ) {
14+ deferMs : 2000 ,
15+ getSearch : function ( _el , doc ) {
1516 var n = doc . querySelector ( 'h1' ) ;
16-
17- return ( n && ( n . textContent || '' ) . trim ( ) ) || '' ;
17+
18+ return ( n && ( n . textContent || '' ) . trim ( ) ) || '' ;
1819 }
1920 } ) ;
2021
2627 containerSelector : 'h1' ,
2728 insertWhere : 'prepend' ,
2829 iconStyle : 'width: 30px; margin: 0 10px 0 0;' ,
29- getSearch : function ( _el , doc ) {
30- var n = doc . querySelector ( 'h1' ) ;
31- return ( n && ( n . textContent || '' ) . trim ( ) ) || '' ;
30+ deferMs : 2000 ,
31+ getSearch : function ( _el , doc ) {
32+ var n = doc . querySelector ( 'h1' ) ;
33+ return ( n && ( n . textContent || '' ) . trim ( ) ) || '' ;
3234 }
3335 } ) ;
3436
You can’t perform that action at this time.
0 commit comments