HTRACE-205. htrace-web: Width of SearchResultsView should be uppdated along with resizing of browser window (iwasakims)
diff --git a/htrace-webapp/src/main/web/app/search_results_view.js b/htrace-webapp/src/main/web/app/search_results_view.js
index 7a154dd..0a11eaa 100644
--- a/htrace-webapp/src/main/web/app/search_results_view.js
+++ b/htrace-webapp/src/main/web/app/search_results_view.js
@@ -142,13 +142,7 @@
     var ratio = this.computeScaleFactor();
     //console.log("scaleCanvas: cssX=" + cssX + ", cssY=" + cssY + ", ratio=" + ratio);
     $('#searchView').css('height', this.canvasY + "px");
-    $('#results').css('width', this.viewX + "px");
-    $('#results').css('height', this.canvasY + "px");
-    $('#resultsView').css('width', this.viewX + "px");
     $('#resultsView').css('height', this.canvasY + "px");
-    $('#resultsDiv').css('width', this.viewX + "px");
-    $('#resultsDiv').css('height', this.canvasY + "px");
-    $('#resultsCanvas').css('width', this.viewX + "px");
     $('#resultsCanvas').css('height', this.canvasY + "px");
     this.ctx.canvas.width = this.viewX * ratio;
     this.ctx.canvas.height = this.canvasY * ratio;
diff --git a/htrace-webapp/src/main/web/app/search_view.js b/htrace-webapp/src/main/web/app/search_view.js
index 270f11d..ffdba4c 100644
--- a/htrace-webapp/src/main/web/app/search_view.js
+++ b/htrace-webapp/src/main/web/app/search_view.js
@@ -26,7 +26,7 @@
     this.searchResults = new htrace.SearchResults();
     this.resultsView = new htrace.SearchResultsView({
         searchResults: this.searchResults,
-        el: "#results"
+        el: "#resultsView"
     });
   },
 
diff --git a/htrace-webapp/src/main/web/index.html b/htrace-webapp/src/main/web/index.html
index 63956e4..fccbded 100644
--- a/htrace-webapp/src/main/web/index.html
+++ b/htrace-webapp/src/main/web/index.html
@@ -142,9 +142,6 @@
           </div>
         </div>
         <div class="col-md-9" id="resultsView">
-          <div id="results">
-            <h3>...</h3>
-          </div>
         </div>
       </div>
     </script>
@@ -161,12 +158,10 @@
     </script>
 
     <script id="search-results-view-template" type="text/template">
-      <div id="resultsDiv" class="htrace-canvas-container">
-        <canvas id="resultsCanvas" class="htrace-canvas">
-          <h2>Sorry, your browser does not support the HTML5 canvas element.  Please
-          upgrade to a newer browser.</h2>
-        </canvas>
-      </div>
+      <canvas id="resultsCanvas" class="htrace-canvas">
+        <h2>Sorry, your browser does not support the HTML5 canvas element.  Please
+        upgrade to a newer browser.</h2>
+      </canvas>
     </script>
 
     <script id="modal-warning-template" type="text/template">