From 99f87c0bc78bfbb3e775f5fe5fbdf5c80db7d146 Mon Sep 17 00:00:00 2001 From: ronnymikalsen Date: Thu, 25 Mar 2021 14:54:42 +0100 Subject: [PATCH] docs: fixed typo and corrected the comment --- src/viewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 1dc39124..98f8e484 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -1612,8 +1612,8 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, }, /** - * Update pixel density ration, clears all tiles and triggers updates for - * all items. + * Update pixel density ratio, clears all tiles and triggers updates for + * all items if the ratio has changed. * @private */ _updatePixelDensityRatio: function() {