Skip to content

Commit 15a931f

Browse files
save file
1 parent f1ff06a commit 15a931f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

utils/misc/global-state-diff/v2.0/global-state-diff-v2.0.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ <h3>
239239
</div>
240240

241241
<div class=input>
242-
<img class='copy icon'>
243-
<img class='paste icon'>
242+
<img class='copy icon' title=copy>
243+
<img class='paste icon' title=paste>
244244
<input id=src value='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.2.0/codemirror.min.js'>
245245
</div>
246246

@@ -309,8 +309,8 @@ <h3>
309309
</div>
310310

311311
<div class=input>
312-
<img class='copy icon'>
313-
<img class='paste icon'>
312+
<img class='copy icon' title=copy>
313+
<img class='paste icon' title=paste>
314314
<input id=src2 value='https://cdn.jsdelivr.net/npm/codemirror/+esm'>
315315
</div>
316316

@@ -348,7 +348,7 @@ <h3>
348348
$('#script .paste').onclick = async e=>{var txt=await navigator.clipboard.readText();src.value=txt};
349349

350350
src.onkeydown = e=>e.key=='Enter' && process.script(src.value);
351-
//src.value = 'https://cdn.jsdelivr.net/npm/markdown-it-container@4.0.0/+esm';
351+
src.onfocus = e=>src.select();
352352
src.focus();
353353

354354
item = $('#item');
@@ -369,7 +369,7 @@ <h3>
369369
$('#import .copy').onclick = e=>navigator.clipboard.writeText(src2.value);
370370
$('#import .paste').onclick = async e=>{var txt=await navigator.clipboard.readText();src2.value=txt};
371371

372-
//src2.value = 'https://unpkg.com/es-module-lexer?module';
372+
src2.onfocus = e=>src2.select();
373373

374374
go2.onclick = function(){
375375

0 commit comments

Comments
 (0)