File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 287287 Results will appear here...
288288 </ div >
289289
290- < button id ="copyButton " class ="btn btn-light " onclick ="showCopiedMessage() ">
290+ < button
291+ id ="copyButton "
292+ class ="btn btn-light "
293+ onclick ="showCopiedMessage() "
294+ >
291295 < i class ="fas fa-copy "> </ i >
292- < span id ="copiedMsg " style ="display: none; color: green; margin-left: 10px; "> Copied!</ span >
296+ < span
297+ id ="copiedMsg "
298+ style ="display: none; color: green; margin-left: 10px "
299+ > Copied!</ span
300+ >
293301 </ button >
294302 </ div >
295303 </ div >
759767
760768 // show "Copied!" message when result is copied
761769 function showCopiedMessage ( ) {
762- const msg = document . getElementById ( " copiedMsg" ) ;
763- msg . style . display = " inline" ;
770+ const msg = document . getElementById ( ' copiedMsg' ) ;
771+ msg . style . display = ' inline' ;
764772
765773 setTimeout ( ( ) => {
766- msg . style . display = " none" ;
774+ msg . style . display = ' none' ;
767775 } , 1500 ) ;
768776 }
769777
You can’t perform that action at this time.
0 commit comments