File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,6 @@ function OneSignalLogin () {
467467// This function is to be run when our website loads.
468468// We can therefore safely run functions from other scripts here, e.g. spa, ClipboardJS and OneSignal.
469469function init ( ) {
470- spaHide ( 'jsAlert' ) ;
471470 new ClipboardJS ( '.clipboard-js-btn' ) ;
472471 document . getElementById ( 'login' ) . addEventListener ( 'click' , ( event ) => {
473472 document . getElementById ( 'signIn' ) . showModal ( ) ;
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ <h1>Welcome to Formonit</h1>
5656 < main class ="col-sm-11 bg-light pt-5 pb-4 ">
5757 < div class ="text-bg-light ">
5858 < p class ="alert alert-danger " id ="jsAlert "> You don't have JavaScript enabled! This page cannot function without it.</ p >
59+ < script > document . getElementById ( 'jsAlert' ) . hidden = true ; </ script >
5960 < div class ="spa-page " id ="about ">
6061 < section >
6162 < h3 > About</ h3 >
You can’t perform that action at this time.
0 commit comments