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("name", thisData.name);
$this.data("type", thisData.type); $this.data("type", thisData.type);
$this.data("link", thisData.link); $this.data("link", thisData.link);
if (thisData.hasOwnProperty("lines")) {
$this.data("lines", thisData.lines.split(", ")); $this.data("lines", thisData.lines.split(", "));
} else {
$this.data("lines", []);
}
// $this.addClass(thisData.type); // $this.addClass(thisData.type);
// console.log($this.data("key")); // console.log($this.data("key"));
// console.log($this.hasTooltip()); // console.log($this.hasTooltip());