File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ window.classie = {
5151
5252} ) ( window ) ;
5353
54- $ ( document ) . ready ( function ( ) {
54+ function addElements ( ) {
5555 $ ( '<div id="menu"><div class="burger"><div class="one"></div><div class="two"></div><div class="three"></div></div><div class="circle"></div></div>' ) . insertBefore ( $ ( "#top-menu" ) ) ;
5656
5757 var menuLeft = document . getElementById ( 'top-menu' ) ,
@@ -68,5 +68,12 @@ $(document).ready(function(){
6868 classie . toggle ( menuLeft , 'open' ) ;
6969 } ;
7070 $ ( 'input[name$="q"]' ) . attr ( 'placeholder' , 'Enter Search Text' ) ;
71- } )
71+ }
72+
73+ $ ( document ) . ready ( addElements )
7274
75+ window . onerror = function myErrorFunction ( message , url , linenumber ) {
76+ if ( location . href . indexOf ( "/dmsf" ) != - 1 ) {
77+ $ ( document ) . ready ( addElements )
78+ }
79+ }
You can’t perform that action at this time.
0 commit comments