diff options
Diffstat (limited to 'library/WT/Menu.php')
| -rw-r--r-- | library/WT/Menu.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/WT/Menu.php b/library/WT/Menu.php index e172107c0e..c60de6eae8 100644 --- a/library/WT/Menu.php +++ b/library/WT/Menu.php @@ -124,7 +124,6 @@ class WT_Menu { $link .= ' target="'.$this->target.'"'; } if ($this->link=='#') { - $this->link = "javascript:;"; if ($this->onclick !== null) { $link .= ' onclick="'.$this->onclick.'"'; } @@ -181,7 +180,6 @@ class WT_Menu { $id = $menucount.rand(); $c = count($this->submenus); $output = "<div id=\"menu{$id}\" class=\"{$this->class}\">\n"; - if ($this->link=="#") $this->link = "javascript:;"; $link = "<a href=\"{$this->link}\" onmouseover=\""; if ($c >= 0) { $link .= "show_submenu('menu{$id}_subs', 'menu{$id}', '{$this->flyout}');"; |
