Merge pull request #281 from ryanpcmcquen/patch-2

Typo fix: additionnal => additional
pull/1/head
ansuz 6 years ago committed by GitHub
commit 90c905827d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1096,8 +1096,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") {

Loading…
Cancel
Save