Skip to content

Commit

Permalink
Update wysiwg js. #73
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Sep 7, 2021
1 parent 374c834 commit 8b1b2b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
12 changes: 5 additions & 7 deletions views/admin/javascripts/contribution.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
function setUpSettingsWysiwyg() {
jQuery(window).load(function() {
Omeka.wysiwyg({
selector: ".html-editor",
forced_root_block: ""
});
jQuery(document).ready(function() {
Omeka.wysiwyg({
selector: ".html-editor",
forced_root_block: ""
});
}
});
1 change: 0 additions & 1 deletion views/admin/settings/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

queue_js_file('contribution');
queue_js_file('tinymce.min', 'javascripts/vendor/tinymce');
queue_js_string('setUpSettingsWysiwyg();');
contribution_admin_header(array(__('Submission Settings')));

?>
Expand Down

0 comments on commit 8b1b2b5

Please sign in to comment.