diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index ac390400b..26bfbe26c 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -1092,8 +1092,8 @@ Messenger, MessengerUI, Messages) { tb['useradmin'] = createUserAdmin; tb['unpinnedWarning'] = createUnpinnedWarning; - var addElement = toolbar.addElement = function (arr, additionnalCfg, init) { - if (typeof additionnalCfg === "object") { $.extend(true, config, additionnalCfg); } + var addElement = toolbar.addElement = function (arr, additionalCfg, init) { + if (typeof additionalCfg === "object") { $.extend(true, config, additionalCfg); } arr.forEach(function (el) { if (typeof el !== "string" || !el.trim()) { return; } if (typeof tb[el] === "function") {