MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / onEditorButton

Method onEditorButton

src/content-scripts/encryptFrame.js:99–104  ·  view source on GitHub ↗
(ev)

Source from the content-addressed store, hash-verified

97 }
98
99 onEditorButton(ev) {
100 this.emailTextElement.removeEventListener('keypress', this.handleKeypress);
101 this.eFrame.querySelector('.m-encrypt-container').classList.add('active');
102 this.showMailEditor();
103 ev.stopPropagation();
104 }
105
106 onMailEditorClose() {
107 this.eFrame.querySelector('.m-encrypt-container').classList.remove('active');

Callers

nothing calls this directly

Calls 2

showMailEditorMethod · 0.95
addMethod · 0.80

Tested by

no test coverage detected