We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c1501f commit cb83e9fCopy full SHA for cb83e9f
utils/editors/js-console/v3.0/js-console-v3.0.html
@@ -278,7 +278,7 @@ <h4 slot=version>v3.0</h4>
278
keydown.initdom();
279
menu.add.style();
280
281
- var btn = document.createElement('input');
+ var btn = document.createElement('input');
282
btn.type = 'button';
283
btn.value = 'isolate';
284
$(hdr.__host.shadowRoot,'#btns').append(btn);
@@ -396,12 +396,12 @@ <h4 slot=version>v3.0</h4>
396
btn.isolate = function(){
397
398
var url = window.location.toString();
399
-
400
- if(url.indexOf('?')!=-1){
401
- return;
+ var i1 = url.indexOf('?');
+ if(i1!=-1){
+ url = urls.lice(0,i1);
402
+ }else{
403
+ url += '?isolate';
404
}
- url += '?isolate';
405
window.location = url;
406
407
}//isolate
0 commit comments