From 62e953636306aac055bb64d93821a08cd17e8960 Mon Sep 17 00:00:00 2001 From: Damien GUERIN Date: Mon, 17 Feb 2014 17:19:24 +0100 Subject: [PATCH] Correction of multiple instance of wPaint --- src/wPaint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wPaint.js b/src/wPaint.js index 29465b3..717c063 100644 --- a/src/wPaint.js +++ b/src/wPaint.js @@ -576,7 +576,7 @@ menu.items[key].name = key; // use default img if img not set - menu.items[key].img = _this.wPaint.options.path + (menu.items[key].img || menu.img); + menu.items[key].img = _this.wPaint.options.path + menu.img; // make self invoking to avoid overwrites (itemAppend)(menu.items[key]);