From: Michael M Slusarz Date: Mon, 14 Dec 2009 19:45:37 +0000 (-0700) Subject: Skip if we are already in the correct view. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6b12360f5294e4c55c9ac2575b3366cf24a50810;p=horde.git Skip if we are already in the correct view. --- diff --git a/imp/js/ViewPort.js b/imp/js/ViewPort.js index b0985ae7e..43de85ea1 100644 --- a/imp/js/ViewPort.js +++ b/imp/js/ViewPort.js @@ -212,7 +212,7 @@ var ViewPort = Class.create({ this.page_size = ps; } - if (this.view) { + if (this.view && (view != this.view)) { if (!background) { // Need to store current buffer to save current offset buffer = this._getBuffer();