Show More
@@ -37,14 +37,14 b' $(document).ready(function () {' | |||
|
37 | 37 | |
|
38 | 38 | var enable_autorefresh = function(){ |
|
39 | 39 | //refresh immediately , then start interval |
|
40 | if($('upload_button').length == 0) | |
|
40 | if($('.upload_button').length == 0) | |
|
41 | 41 | { |
|
42 | 42 | IPython.notebook_list.load_list(); |
|
43 | 43 | IPython.cluster_list.load_list(); |
|
44 | 44 | } |
|
45 | 45 | if (!interval_id){ |
|
46 | 46 | interval_id = setInterval(function(){ |
|
47 | if($('upload_button').length == 0) | |
|
47 | if($('.upload_button').length == 0) | |
|
48 | 48 | { |
|
49 | 49 | IPython.notebook_list.load_list(); |
|
50 | 50 | IPython.cluster_list.load_list(); |
General Comments 0
You need to be logged in to leave comments.
Login now