(el, attr, evt)
| 24423 | const bodyShadow = willowBrowser.getBodyStumpParticle().getShadow() |
| 24424 | const app = this |
| 24425 | const checkAndExecute = (el, attr, evt) => { |
| 24426 | const stumpParticle = willowBrowser.getStumpParticleFromElement(el) |
| 24427 | evt.preventDefault() |
| 24428 | evt.stopImmediatePropagation() |
| 24429 | this._executeCommandOnStumpParticle(stumpParticle, stumpParticle.getStumpParticleAttr(attr)) |
| 24430 | return false |
| 24431 | } |
| 24432 | bodyShadow.onShadowEventWithSelector(BrowserEvents.contextmenu, `[${WillowConstants.contextMenuCommand}]`, function (target, evt) { |
| 24433 | if (evt.ctrlKey) return true |
| 24434 | app._setMouseEvent(evt) // todo: remove? |
nothing calls this directly
no test coverage detected