Differences From Artifact [18e69bae0d]:
- File gc_lang/fr/webext/content_scripts/panel.js — part of check-in [96618e5b78] at 2017-10-12 10:01:13 on branch webext3 — [fx] WebExt: exclude panels content from GC and lexicographer analysis (user: olr, size: 7238) [annotate] [blame] [check-ins using]
To Artifact [9619f1038a]:
- File gc_lang/fr/webext/content_scripts/panel.js — part of check-in [e23d926562] at 2017-10-13 13:27:26 on branch webext3 — [fx] WebExt: clear registered node when closing panel (user: olr, size: 7284) [annotate] [blame] [check-ins using] [more...]
︙ | |||
88 89 90 91 92 93 94 95 96 97 98 99 100 101 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | + | show () { this.xPanel.style.display = "block"; } hide () { this.xPanel.style.display = "none"; oGrammalecte.clearRightClickedNode(); } center () { let nHeight = (this.bFlexible) ? window.innerHeight-100 : this.nHeight; this.xPanel.style = `top: 50%; left: 50%; width: ${this.nWidth}px; height: ${nHeight}px; margin-top: -${nHeight/2}px; margin-left: -${this.nWidth/2}px;`; } |
︙ |