From 425acc38f9155b1bf4d69e9c47e247277492a6f4 Mon Sep 17 00:00:00 2001 From: Philip Giuliani Date: Mon, 13 Apr 2015 18:59:13 +0200 Subject: [PATCH] Fix overwriting the tiledImage options --- src/viewer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index a73ef24b..57ad0f1f 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -1218,9 +1218,9 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, this._hideMessage(); - $.extend ( true, options, { - placeholderFillStyle: _this.placeholderFillStyle - }); + if (options.placeholderFillStyle === undefined) { + options.placeholderFillStyle = this.placeholderFillStyle; + } var myQueueItem = { options: options