Permalink
Browse files

Replaced onclick with javascript to remove # in url bug

  • Loading branch information...
1 parent 1ede9cb commit 563de182eba5822e594df6a50865631f3586f1cf Ollie Rattue committed Aug 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/assets/barometer/javascripts/barometer.js
@@ -8,7 +8,7 @@ BAROMETER.load = function(barometer_id) {
this.empty_url = "http://getbarometer.com/assets/barometer/images/transparent.gif";
this.feedback_url = 'http://getbarometer.com/system/feedback_form/' + this.barometer_id;
- this.tab_html = '<a id="barometer_tab" onclick="BAROMETER.show();" href="#">Feedback</a>';
+ this.tab_html = '<a id="barometer_tab" href="javascript:BAROMETER.show()">Feedback</a>';
this.overlay_html = '<div id="barometer_overlay" style="display: none;">' +
'<div id="barometer_main" style="top: 130.95px;">' +
'<a id="barometer_close" onclick="document.getElementById(\'barometer_overlay\').style.display = \'none\';return false" href="#"/></a>' +

0 comments on commit 563de18

Please sign in to comment.