static/system/statics/libs/custom.js
/* This function will reposition search form to the left panel when viewed
     * in screens smaller than 767px and will return to top when viewed higher
     * than 767px
     */
This function will reposition search form to the left panel when viewed
in screens smaller than 767px and will return to top when viewed higher
than 767px
This function will reposition search form to the left panel when viewed in screens smaller than 767px and will return to top when viewed higher than 767px
function reposition_searchform() {
        if (jQuery('.searchform').css('position') == 'relative') {
            jQuery('.searchform').insertBefore('.leftpanelinner .userlogged');
        } else {
            jQuery('.searchform').insertBefore('.header-right');
        }
    }
function reposition_searchform ( ) { if ( jQuery ( '.searchform' ) . css ( 'position' ) == 'relative' ) { jQuery ( '.searchform' ) . insertBefore ( '.leftpanelinner .userlogged' ) ; } else { jQuery ( '.searchform' ) . insertBefore ( '.header-right' ) ; } }
This function will reposition search form to the left panel when viewed
 in screens smaller than 767px and will return to top when viewed higher
 than 767px
This function will reposition search form to the left panel when viewed in screens smaller than 767px and will return to top when viewed higher than 767px