j2sNative references moved to Platform
[jalview.git] / src / jalview / gui / OverviewPanel.java
index 66634ee..34138aa 100755 (executable)
@@ -246,7 +246,7 @@ public class OverviewPanel extends JPanel
      * Javascript does not call componentResized on initial display,
      * so do the update here
      */
-    boolean doUpdate =  /** @j2sNative true || */ false;
+    boolean doUpdate =  Platform.isJS();
     if (doUpdate)
       updateOverviewImage();
   }