MCPcopy Index your code
hub / github.com/hoothin/UserScripts / close

Method close

Pagetual/pagetual.user.js:9234–9243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9232 }
9233
9234 close() {
9235 this.clearSigns();
9236 if (this.frame.parentNode) this.frame.parentNode.removeChild(this.frame);
9237 if (this.mainSignDiv.parentNode) this.mainSignDiv.parentNode.removeChild(this.mainSignDiv);
9238 getBody(document).classList.remove("pagetual-picker");
9239 getBody(document).removeEventListener("mousemove", this.moveHandler, true);
9240 getBody(document).removeEventListener("click", this.clickHandler, true);
9241 getBody(document).title = "";
9242 this.inPicker = false;
9243 }
9244
9245 setImportant(ele, prop, value) {
9246 ele.style.setProperty(prop, value, "important");

Callers 9

highlightFunction · 0.45
initFunction · 0.45
buildConfigWinFunction · 0.45
initFunction · 0.45
initMethod · 0.45
clickRadioMethod · 0.45
initMethod · 0.45

Calls 3

clearSignsMethod · 0.95
removeMethod · 0.80
getBodyFunction · 0.70

Tested by

no test coverage detected