fixed Maran

This commit is contained in:
Sanj 2011-06-27 19:41:30 +05:30
parent a6db85c02f
commit 1bb3eabf1a

View File

@ -115,8 +115,11 @@ $(function() {
$this.data("name", thisData.name);
$this.data("type", thisData.type);
$this.data("link", thisData.link);
$this.data("lines", thisData.lines.split(", "));
if (thisData.hasOwnProperty("lines")) {
$this.data("lines", thisData.lines.split(", "));
} else {
$this.data("lines", []);
}
// $this.addClass(thisData.type);
// console.log($this.data("key"));
// console.log($this.hasTooltip());