File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
utils/editors/html-editor Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 152152
153153
154154 icon . def = $ ( 'link[rel~=icon]' ) . href ;
155- console . log ( icon . def ) ;
156155
157156
158157 initdom ( document . body ) ;
@@ -468,6 +467,8 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
468467 on . change = function ( ) {
469468 //console.log('on.change');
470469 set . favicon ( icon . save ) ;
470+
471+
471472 /*
472473 const SAVE_RE = /^\u{1F4BE}\uFE0F?/u;
473474 if (!SAVE_RE.test(document.title)) {
@@ -482,7 +483,6 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
482483 set . title = function ( title ) {
483484
484485 document . title = title ;
485- set . favicon ( icon . def ) ;
486486
487487 } //title
488488
@@ -507,6 +507,7 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
507507 filemod . cur = file ;
508508 var title = file . name || file . filename ;
509509 set . title ( title ) ;
510+ set . favicon ( icon . def ) ;
510511 }
511512
512513 menu . close ( ) ;
You can’t perform that action at this time.
0 commit comments