File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 114114 **/
115115 window . addEventListener ( "load" , function ( )
116116 {
117- var data_goscroll ;
118- data_goscroll = document . querySelectorAll ( "[data-scroll-go]" ) ;
119- data_goscroll . forEach ( function ( item )
120- {
121- if ( item . onclick === null ) //onclick not exists
122- {
123- item . onclick = function ( )
124- {
125- window . goscroll . go ( this ) ;
126- } ;
127- }
128- } ) ;
129- //////////////////////////////////////////////////////////////////
130- data_goscroll = document . querySelectorAll ( "[data-scroll-to]" ) ;
131- data_goscroll . forEach ( function ( item )
132- {
133- if ( item . onclick === null ) //onclick not exists
134- {
135- item . onclick = function ( )
136- {
137- window . goscroll . goto ( this ) ;
138- } ;
139- }
140- } ) ;
141- //////////////////////////////////////////////////////////////////
117+ //soon
142118 } , false ) ;
143119} ( window , document ) ) ;
You can’t perform that action at this time.
0 commit comments