Typo fix: additionnal => additional

pull/1/head
Ryan P. C. McQuen 6 years ago committed by GitHub
parent d49f787bcd
commit df442f9b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1092,8 +1092,8 @@ Messenger, MessengerUI, Messages) {
tb['useradmin'] = createUserAdmin; tb['useradmin'] = createUserAdmin;
tb['unpinnedWarning'] = createUnpinnedWarning; tb['unpinnedWarning'] = createUnpinnedWarning;
var addElement = toolbar.addElement = function (arr, additionnalCfg, init) { var addElement = toolbar.addElement = function (arr, additionalCfg, init) {
if (typeof additionnalCfg === "object") { $.extend(true, config, additionnalCfg); } if (typeof additionalCfg === "object") { $.extend(true, config, additionalCfg); }
arr.forEach(function (el) { arr.forEach(function (el) {
if (typeof el !== "string" || !el.trim()) { return; } if (typeof el !== "string" || !el.trim()) { return; }
if (typeof tb[el] === "function") { if (typeof tb[el] === "function") {

Loading…
Cancel
Save