From c7cdddf924fbca060f4a542942934800ba0ac1b8 Mon Sep 17 00:00:00 2001 From: Lee Lawlor Date: Wed, 11 Feb 2015 14:47:43 -0500 Subject: [PATCH] fix display of chart options on channel page --- app/assets/javascripts/updateChart.js | 4 ++-- ...cation-2fa1f01b48ec9e72eaa3ad5c1f134298.js | 2 ++ ...ion-2fa1f01b48ec9e72eaa3ad5c1f134298.js.gz | Bin 0 -> 21501 bytes public/assets/application.js | 2 +- public/assets/application.js.gz | Bin 21505 -> 21501 bytes ...fest-27c2ec8d97bd8487cae01bba17cdddb9.json | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 public/assets/application-2fa1f01b48ec9e72eaa3ad5c1f134298.js create mode 100644 public/assets/application-2fa1f01b48ec9e72eaa3ad5c1f134298.js.gz diff --git a/app/assets/javascripts/updateChart.js b/app/assets/javascripts/updateChart.js index 078bdf7..845967f 100644 --- a/app/assets/javascripts/updateChart.js +++ b/app/assets/javascripts/updateChart.js @@ -258,8 +258,8 @@ var uiEditClick = function (channel_id) { var uiViewClick = function (channel_id) { return function() { - var x = $( this ).parents( ".portlet:first" ).find( ".portlet-content" ).offset().left; - var y = $( this ).parents( ".portlet:first" ).find( ".portlet-content" ).offset().top; + var x = $( this ).parents( ".portlet:first" ).offset().left; + var y = $( this ).parents( ".portlet:first" ).offset().top; var id = $( this ).parents( ".portlet:first" ).attr("id").substring(8); $("body").append('