diff options
Diffstat (limited to 'core/js/listview.js')
-rw-r--r-- | core/js/listview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/listview.js b/core/js/listview.js index 239792d6346..71466c90207 100644 --- a/core/js/listview.js +++ b/core/js/listview.js @@ -46,7 +46,7 @@ ListView.prototype={ $.each(this.hoverElement,function(index,collumn){ $.each(collumn,function(index,element){ var html='<a href="#" title="'+element.title+'" class="hoverElement"/>'; - element=$(html); + element = $(html); element.append($('<img src="'+element.icon+'"/>')); element.click(element.callback); tr.children('td.'+collumn).append(element); @@ -61,7 +61,7 @@ ListView.prototype={ }, addHoverElement:function(column,icon,title,callback){ if(!this.hoverElements[column]){ - this.hoverElements[column]=[]; + this.hoverElements[column] = []; } this.hoverElements[row].push({icon:icon,callback:callback,title:title}); }, |