Index: trunk/extensions/Collection/collection/portlet.js |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | if (hint) { |
7 | 7 | wgCollectionAddRemoveState = hint; |
8 | 8 | } |
9 | | - if (typeof refreshCollectionArticleList) { |
| 9 | + if (typeof refreshCollectionArticleList == 'function') { |
10 | 10 | refreshCollectionArticleList(); |
11 | 11 | } |
12 | 12 | }); |