]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commit
webgui menus: Make top menu item clickable on mobile safari
authorAlf Høgemark <alf@i100.no>
Wed, 19 Feb 2014 16:30:49 +0000 (17:30 +0100)
committerAlf Høgemark <alf@i100.no>
Wed, 19 Feb 2014 16:30:49 +0000 (17:30 +0100)
commitdb3096173d9118718c6191c48f581f1c0076dc2a
treeb47e79730bde66103846520765980ab8ca255d10
parentb21d47c804407458aee20b5609ca99ec63f710f8
webgui menus: Make top menu item clickable on mobile safari

The menus in the new default theme does not work properly on
ipad and I guess other devices using mobile safari.

The reason is that <a> tags without href is not marked as
clickable by ios, and therefore no css hover effect is applied.

The fix is either to add a href="#" attribute
or a onclick="return true;" atribute on the <a> tag.
I prefer the href solution, since it is a no javascript solution.
html/html/themes/ipfire/include/functions.pl