Skip to content

Commit

Permalink
Can you believe that if you name anything the same as its DOM id then…
Browse files Browse the repository at this point in the history
… Internet Explorer 8 will freak out?
  • Loading branch information
parndt committed Aug 12, 2010
1 parent a345900 commit ad71267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/plugins/refinery/app/views/shared/_site_bar.html.erb
Expand Up @@ -7,8 +7,8 @@
<script type='text/javascript'>
if (typeof($) == 'function') {
$(document).ready(function() {
logo = $('#site_bar_content #site_bar_refinery_cms_logo');
$(logo).css('left', ($('#site_bar_content').width() / 2) - ($(logo).width() / 2));
$logo = $('#site_bar_content #site_bar_refinery_cms_logo');
$logo.css('left', ($('#site_bar_content').width() / 2) - ($logo.width() / 2));
if ($.isFunction($('#editor_switch a').corner)) {
$('#editor_switch a').corner('6px');
Expand Down

0 comments on commit ad71267

Please sign in to comment.