Sha256: df9ac0f8c5ddc3c50bf30a7ab116cc804cbf9de5b15d118ba0e854389d29793a

Contents?: true

Size: 567 Bytes

Versions: 14

Compression:

Stored size: 567 Bytes

Contents

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));

    $switch_anchor = $('#editor_switch a').not('.ie7 #editor_switch a, .ie6 #editor_switch a');
    if ($.isFunction($switch_anchor.corner)) {
      $switch_anchor.corner('6px');
    }

    $('#editor_switch a').appendTo((span = $('<span></span>').prependTo('#editor_switch')));
    if ($.isFunction(span.corner)) {
      span.corner('6px');
    }
  });
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
refinerycms-core-1.0.11 public/javascripts/refinery/site_bar.js
refinerycms-core-2.0.2 app/assets/javascripts/refinery/site_bar.js
refinerycms-core-1.0.10 public/javascripts/refinery/site_bar.js
refinerycms-core-2.0.1 app/assets/javascripts/refinery/site_bar.js
refinerycms-core-2.0.0 app/assets/javascripts/refinery/site_bar.js
refinerycms-core-1.0.9 public/javascripts/refinery/site_bar.js
refinerycms-core-1.0.8 public/javascripts/refinery/site_bar.js
refinerycms-core-1.0.7 public/javascripts/refinery/site_bar.js
refinerycms-core-1.0.5 public/javascripts/refinery/site_bar.js
refinerycms-core-1.0.4 public/javascripts/refinery/site_bar.js
refinerycms-core-1.0.3 public/javascripts/refinery/site_bar.js
refinerycms-core-1.0.1 public/javascripts/refinery/site_bar.js
refinerycms-core-1.0.0 public/javascripts/refinery/site_bar.js
refinerycms-core-0.9.9.22 public/javascripts/refinery/site_bar.js