Hi
I want to only hide the left side menu on the login page.
I have added
$('[data-widget="pushmenu"]').PushMenu('collapse');
to login page> startupscript
which works, but how to i reset it back to default after login?
thanks
Hi
I want to only hide the left side menu on the login page.
I have added
$('[data-widget="pushmenu"]').PushMenu('collapse');
to login page> startupscript
which works, but how to i reset it back to default after login?
thanks
mobhar wrote:
if (ew.IS_LOGGEDIN) $('[data-widget="pushmenu"]').PushMenu('expand');
There is a little problem with this, when you open de page on a mobile, the side bar always appear when you regresh de page, you need to add a condition of the screen px or something before