Skip to content

Commit

Permalink
Replaced onclick with javascript to remove # in url bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ollie Rattue committed Aug 21, 2011
1 parent 1ede9cb commit 563de18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/assets/barometer/javascripts/barometer.js
Expand Up @@ -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>' +
Expand Down

0 comments on commit 563de18

Please sign in to comment.