OSDN Git Service

Fix loading commit history for tree view
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 29 Apr 2013 10:18:08 +0000 (13:18 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 29 Apr 2013 10:18:08 +0000 (13:18 +0300)
app/views/tree/_tree.html.haml

index a98a44e..cc45faa 100644 (file)
@@ -46,6 +46,6 @@
 
 :javascript
   // Load last commit log for each file in tree
-  $(window).load(function(){
+  $('#tree-slider').waitForImages(function() {
     ajaxGet('#{@logs_path}');
   });