Commits

Michael Shepanski  committed f4abccc

Only init helpToggle if both help and helpToggle are enabled.

  • Participants
  • Parent commits cc7ba1a

Comments (0)

Files changed (1)

File wysiwym/wysiwym.js

 
     // Initialize the Help Toggle Button
     this.initializeHelpToggle = function() {
-        if (this.options.helpToggle) {
+        if (this.options.helpToggle && this.options.helpEnabled) {
             if (this.options.helpToggleElem == undefined)
                 this.options.helpToggleElem = $("<a href='#'>"+ this.options.helpTextShow +"</a>");
             this.options.helpToggleElem.addClass(this.HELPTOGGLECLASS);