File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
utils/editors/html/editors-hdr/v2.0 Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 4040 ::slotted (.visually-hidden )
4141 {position : absolute;width : 1px ;height : 1px ;margin : -1px ;padding : 0 ;overflow : hidden;clip : rect (0 0 0 0 );border : 0 }
4242
43+ input [type = button ]
44+ {font-size : 16px ;padding : 5px 10px ;cursor : pointer}
4345
4446 </ style >
4547
5456 < top-menu component =grp > </ top-menu >
5557
5658 </ div >
59+
60+ < input value =isolate type =button >
5761
5862 < slot > </ slot >
5963
118122
119123 top . initdom ( shadow ) ;
120124
125+ $ ( shadow , '[value=isolate]' ) . onclick = btn . isolate ;
126+
121127
122128 } //initdom
123129
124130
125131 //:
126132
127133
134+ btn . isolate = function ( ) {
135+
136+ var url = window . location . toString ( ) ;
137+
138+ if ( url . indexOf ( '?' ) ) {
139+ return ;
140+ }
141+
142+ url += '?isolate' ;
143+ window . location = url ;
144+
145+ } //isolate
146+
147+
148+ //:
149+
150+
128151 function debug ( ) {
129152
130153 if ( ! df && ! obj . df ) return ;
You can’t perform that action at this time.
0 commit comments