Skip to content

Commit

Permalink
grrr
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Jan 13, 2020
1 parent c0102ea commit a202ae3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ document.addEventListener('DOMContentLoaded', () => {
// Use the API
if (window.Joomla && window.Joomla.editors && Joomla.editors.instances
&& Object.prototype.hasOwnProperty.call(window.parent.Joomla.editors.instances, editor)) {
window.parent.Joomla.editors.instances[editor].replaceSelection(`{loadmoduleid ${position}}`);
window.parent.Joomla.editors.instances[editor].replaceSelection(`{loadposition ${position}}`);
}

if (window.parent.Joomla.Modal) {
Expand Down

0 comments on commit a202ae3

Please sign in to comment.