Skip to content
Snippets Groups Projects
Commit 9633fb5c authored by Frode Petterson's avatar Frode Petterson
Browse files

HFP-2860 Fix correct setting

parent b29d4fa9
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ ns.Html.prototype.inTags = function (value) {
* @return {boolean}
*/
ns.Html.prototype.inButtons = function (button) {
return (H5PIntegration.wysiwygButtons !== undefined && H5PIntegration.wysiwygButtons.indexOf(button) !== -1);
return (H5PIntegration.editor.wysiwygButtons !== undefined && H5PIntegration.editor.wysiwygButtons.indexOf(button) !== -1);
};
ns.Html.prototype.createToolbar = function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment