We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 310bfc1 commit 561d3d7Copy full SHA for 561d3d7
1 file changed
utils/misc/global-state-diff/v2.0/global-state-diff-v2.0.html
@@ -384,6 +384,7 @@ <h3>
384
$('#import .copy').onclick = e=>navigator.clipboard.writeText(src2.value);
385
$('#import .paste').onclick = async e=>{var txt=await navigator.clipboard.readText();src2.value=txt};
386
387
+ srcs.onkeydown = kd.src2;
388
src2.onfocus = e=>src2.select();
389
390
go2.onclick = function(){
@@ -410,6 +411,15 @@ <h3>
410
411
}//src
412
413
414
+ kd.src2 = function(){
415
+
416
+ if(e.key=='Enter'){
417
+ process.import(src2.value);
418
+ }
419
420
+ }//src2
421
422
423
//:
424
425
0 commit comments