summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ws/node.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ws/node.js b/src/ws/node.js
index 4c63496..2dc5608 100644
--- a/src/ws/node.js
+++ b/src/ws/node.js
@@ -351,7 +351,11 @@ Node.prototype.setAttribute = function(name, value)
Node.prototype.getTitle = function()
{
- return this.attributes["title"];
+ if(this.attributes["title"])
+ {
+ return this.attributes["title"];
+ }
+ return "";
};
Node.prototype.getDescription = function()