Skip to content

Commit

Permalink
hound pass 4
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Jan 12, 2020
1 parent 70273a4 commit f33faa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/media_source/com_modules/js/admin-modules-modal.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (window.parent.Joomla && window.parent.Joomla.editors
&& window.parent.Joomla.editors.instances
&& Object.prototype.hasOwnProperty.call(window.parent.Joomla.editors.instances, editor)) {
window.parent.Joomla.editors.instances[editor].replaceSelection('{loadmoduleid ${modid}}');
window.parent.Joomla.editors.instances[editor].replaceSelection('{loadmoduleid ' + modid + '}');
}
});
});
Expand All @@ -36,7 +36,7 @@ document.addEventListener('DOMContentLoaded', () => {
// Use the API
if (window.Joomla && window.Joomla.editors && Joomla.editors.instances
&& Joomla.editors.instances.hasOwnProperty(editor)) {
Joomla.editors.instances[editor].replaceSelection('{loadposition ${position}}');
Joomla.editors.instances[editor].replaceSelection('{loadposition ' + position + '}');
}
});
});
Expand Down

0 comments on commit f33faa1

Please sign in to comment.