diff --git a/apps/common/mobile/lib/controller/ContextMenu.jsx b/apps/common/mobile/lib/controller/ContextMenu.jsx index 137a16ee9..ef0f50118 100644 --- a/apps/common/mobile/lib/controller/ContextMenu.jsx +++ b/apps/common/mobile/lib/controller/ContextMenu.jsx @@ -24,7 +24,7 @@ class ContextMenuController extends Component { this.$targetEl = $$(idCntextMenuTargetElement); if ( !this.$targetEl.length ) { // this.$targetEl = $$('
'); - this.$targetEl = $$(`
`); + this.$targetEl = $$(`
`); this.$targetEl.css({left: '-10000px', top: '-10000px'}); $$('#editor_sdk').append(this.$targetEl); diff --git a/apps/common/mobile/lib/view/ContextMenu.jsx b/apps/common/mobile/lib/view/ContextMenu.jsx index efce826a2..954b15e5b 100644 --- a/apps/common/mobile/lib/view/ContextMenu.jsx +++ b/apps/common/mobile/lib/view/ContextMenu.jsx @@ -38,4 +38,5 @@ class ContextMenuView extends Component { } } -export {ContextMenuView as default, idContextMenuElement}; \ No newline at end of file +const exportedIdMenuElemen = `#${idContextMenuElement}`; +export {ContextMenuView as default, exportedIdMenuElemen as idContextMenuElement}; \ No newline at end of file