diff options
Diffstat (limited to 'client/src/com')
-rw-r--r-- | client/src/com/vaadin/client/ui/VMenuBar.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VMenuBar.java b/client/src/com/vaadin/client/ui/VMenuBar.java index 9948940717..5102e6faea 100644 --- a/client/src/com/vaadin/client/ui/VMenuBar.java +++ b/client/src/com/vaadin/client/ui/VMenuBar.java @@ -1583,7 +1583,7 @@ public class VMenuBar extends SimpleFocusablePanel implements /*-{ var n = element.childNodes.length; if(n > 0){ - return element.childNodes[n - 1].textContent; + return element.childNodes[n - 1].nodeValue; } else{ return ""; |