Menu Item with Submenü Entry: Click problem

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jul 31, 2014 4:58 am
Reply with quote
Report this post
Hi,

if a menu entry have submenu items, then the user must click multible on the menuitem before the site is open.

Example:
http://www.turus.net/

If you choose "Radsport" everything is right.
If you choose "Reisemagazin" or "Fotos" the problem is there.

How can I fix the problem?
User avatar
Expert Boarder

GK User
Thu Jul 31, 2014 9:31 am
Reply with quote
Report this post
Please open file js/gk.menu.js and find this line :

Code: Select all
if(el.parent().hasClass('haschild') && jQuery('body').attr('data-tablet') !== null) {


then replace it with :

Code: Select all
if(el.parent().hasClass('haschild') && jQuery('body').attr('data-tablet') !== undefined) {


This should resolve your problem.
User avatar
Platinum Boarder

GK User
Thu Jul 31, 2014 2:56 pm
Reply with quote
Report this post
perfect, thanks
User avatar
Expert Boarder


cron