File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1077,6 +1077,13 @@ <h3>
10771077 developersPopdown.classList.toggle('open');
10781078}; */
10791079
1080+ const _stopPropagation = e => {
1081+ e . stopPropagation ( ) ;
1082+ } ;
1083+ const header = document . getElementById ( 'header' ) ;
1084+ header . addEventListener ( 'mousedown' , _stopPropagation ) ;
1085+ header . addEventListener ( 'dblclick' , _stopPropagation ) ;
1086+
10801087const submitSiteUrlBar = document . getElementById ( 'site-url-bar' ) ;
10811088const submitSiteButton = document . getElementById ( 'submit-site' ) ;
10821089submitSiteButton . addEventListener ( 'click' , ( ) => {
@@ -1098,11 +1105,6 @@ <h3>
10981105 userButton . classList . toggle ( 'open' ) ;
10991106 userAccount . classList . toggle ( 'open' ) ;
11001107} ) ;
1101- const _stopPropagation = e => {
1102- e . stopPropagation ( ) ;
1103- } ;
1104- userAccount . addEventListener ( 'mousedown' , _stopPropagation ) ;
1105- userAccount . addEventListener ( 'dblclick' , _stopPropagation ) ;
11061108 </ script >
11071109 </ body >
11081110</ html >
You can’t perform that action at this time.
0 commit comments