From 6f3b0a6d75e929166d29583dac30b0011cf75604 Mon Sep 17 00:00:00 2001
From: Robert Saric <robert.saric@gmail.com>
Date: Sat, 3 Jun 2017 16:10:57 +0200
Subject: [PATCH] fix for #1165 (Reference strip not updated for initially set
 page)

---
 src/viewer.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/viewer.js b/src/viewer.js
index ded3ef4d..1fb5027e 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -530,6 +530,8 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
                         prefixUrl:   this.prefixUrl,
                         viewer:      this
                     });
+
+                    this.referenceStrip.setFocus( this._sequenceIndex );
                 }
             }