onokumus/metismenu

MetisMenu root menu items without sub menu items not working after refresh page (F5)

ekazaltzis opened this issue · 0 comments

Version

version: 2.4.2

Description

When i refresh my browser page (using F5) my menu items without any sub menu items do not load the correct view any more. I'm using angular UI-route. For one or other reason e.preventDefault() is called in this exact scenario and this cancels the timeout that normally would trigger $state.go

Error message

No Error message. The system thinks it's behaving normally

metisMenu.js