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 a6e54b0..c7312bd 100644 --- a/htrace-webapp/src/main/web/app/search_results_view.js +++ b/htrace-webapp/src/main/web/app/search_results_view.js @@ -143,13 +143,7 @@ htrace.SearchResultsView = Backbone.View.extend({ 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 @@ htrace.SearchView = Backbone.View.extend({ 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 @@