Sha256: bd4d89290e3910ab0a17cb2cd3a1d6b10f22952580ba8a5d654eaad51ea58492
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
/*! * * Angle - Bootstrap Admin App + Ruby on Rails * * Version: 3.2.0 * Author: @themicon_co * Website: http://themicon.co * License: https://wrapbootstrap.com/help/licenses * */ (function(window, document, $, undefined){ if (typeof $ === 'undefined') { throw new Error('This application\'s JavaScript requires jQuery'); } $(function(){ // Restore body classes // ----------------------------------- var $body = $('body'); new StateToggler().restoreState( $body ); // enable settings toggle after restore $('#chk-fixed').prop('checked', $body.hasClass('layout-fixed') ); $('#chk-collapsed').prop('checked', $body.hasClass('aside-collapsed') ); $('#chk-boxed').prop('checked', $body.hasClass('layout-boxed') ); $('#chk-float').prop('checked', $body.hasClass('aside-float') ); $('#chk-hover').prop('checked', $body.hasClass('aside-hover') ); // When ready display the offsidebar $('.offsidebar.hide').removeClass('hide'); }); // doc ready })(window, document, window.jQuery);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radius-rails-3.1.4 | app/assets/javascripts/radius-theme/app.init.js |