File "sidebar_secondary.js"

Full Path: /home/sasslijg/public_html/admin/global_assets/js/demo_pages/sidebar_secondary.js
File size: 971 bytes
MIME-type: text/plain
Charset: utf-8

/* ------------------------------------------------------------------------------
 *
 *  # Secondary sidebar
 *
 *  Demo JS code for secondary sidebar pages
 *
 * ---------------------------------------------------------------------------- */


// Setup module
// ------------------------------

var SidebarSecondary = function () {


    //
    // Setup module components
    //

    // Uniform
    var _componentUniform = function() {
        if (!$().uniform) {
            console.warn('Warning - uniform.min.js is not loaded.');
            return;
        }

        // Default initialization
        $('.form-input-styled').uniform();
    };


    //
    // Return objects assigned to module
    //

    return {
        initComponents: function() {
            _componentUniform();
        }
    }
}();


// Initialize module
// ------------------------------

document.addEventListener('DOMContentLoaded', function() {
    SidebarSecondary.initComponents();
});