diff --git a/frontend-js/src/main/js/gui/Panel.js b/frontend-js/src/main/js/gui/Panel.js
index 8264cfbb02c1bd5471d9bc669661303138b830fa..d4a1129b38d61d57078b1bab03267e0dcb85536f 100644
--- a/frontend-js/src/main/js/gui/Panel.js
+++ b/frontend-js/src/main/js/gui/Panel.js
@@ -226,9 +226,9 @@ Panel.prototype.getGuiUtils = function () {
 
 Panel.prototype.setHelpTip = function (helpTip) {
   if (this._helpTip === undefined && helpTip !== undefined) {
+    this._helpTip = helpTip;
     this.createHelpButton();
   }
-  this._helpTip = helpTip;
 };
 
 Panel.prototype.getHelpTip = function () {