File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -257,4 +257,28 @@ for (let text of footer.querySelectorAll('form > div > label > input[type="text"
257257
258258 } ;
259259
260- }
260+ }
261+ footer . querySelector ( 'form' ) . onsubmit = function ( e ) { e . preventDefault ( ) ;
262+
263+ significantChange . querySelector ( 'form' ) . significantChange . parentNode . click ( ) ;
264+ significantChange . querySelector ( 'form' ) . significantChange . checked = false ;
265+
266+ if ( this . breakingChange . value . trim ( ) != '' )
267+ significantChange . querySelector ( 'form' ) . significantChange . checked = true ;
268+
269+ currentTarget = significantChange ;
270+ significantChange . scrollIntoView ( {
271+ behavior : 'smooth'
272+ } ) ;
273+
274+ } ;
275+ footer . querySelector ( 'form' ) . onreset = function ( ) {
276+
277+ body . querySelector ( 'form' ) . body . parentNode . click ( ) ;
278+
279+ currentTarget = body ;
280+ body . scrollIntoView ( {
281+ behavior : 'smooth'
282+ } ) ;
283+
284+ } ;
You can’t perform that action at this time.
0 commit comments