MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / textareablur

Function textareablur

api/prettydiff-webtool.ts:731–742  ·  view source on GitHub ↗
(event:Event)

Source from the content-addressed store, hash-verified

729 span.innerHTML = ` <strong>${value}</strong> \u2014 ${desc}`;
730 },
731 textareablur = function dom_load_textareablur(event:Event):void {
732 const el:HTMLElement = <HTMLElement>event.srcElement || <HTMLElement>event.target,
733 tabkey = id("textareaTabKey");
734 if (tabkey === null) {
735 return;
736 }
737 tabkey.style.display = "none";
738 if (test.ace === true) {
739 const item = <HTMLElement>el.parentNode;
740 item.setAttribute("class", item.getAttribute("class").replace(" filefocus", ""));
741 }
742 },
743 textareafocus = function dom_load_textareafocus(event:Event):void {
744 const el:HTMLElement = <HTMLElement>event.srcElement || <HTMLElement>event.target,
745 tabkey:HTMLElement = id("textareaTabKey"),

Callers

nothing calls this directly

Calls 1

idFunction · 0.85

Tested by

no test coverage detected