Index: trunk/extensions/Collection/js/bookcreator.js |
— | — | @@ -19,13 +19,8 @@ |
20 | 20 | * http://www.gnu.org/copyleft/gpl.html |
21 | 21 | */ |
22 | 22 | |
23 | | -(function() { |
| 23 | +(function($) { |
24 | 24 | |
25 | | -var $ = window.$; |
26 | | -if (typeof $ == 'undefined') { |
27 | | - $ = jQuery; |
28 | | -} |
29 | | - |
30 | 25 | function refreshBookCreatorBox(hint, oldid) { |
31 | 26 | sajax_request_type = 'GET'; |
32 | 27 | sajax_do_call('wfAjaxCollectionGetBookCreatorBoxContent', [hint, oldid], function(xhr) { |
— | — | @@ -177,4 +172,4 @@ |
178 | 173 | }); |
179 | 174 | }); |
180 | 175 | |
181 | | -})(); |
| 176 | +})(jQuery); |