Improved code quality.

This commit is contained in:
Fabio Caccamo
2019-12-03 11:34:26 +01:00
parent e739b784ec
commit 8bdbf31465
3 changed files with 10 additions and 6 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
/** global: django */
if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined') {
(function($) {
'use strict';
@@ -14,5 +16,5 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined') {
return false;
});
});
})(django.jQuery);
}(django.jQuery));
}
@@ -13,7 +13,7 @@
openerRef = windowRef.parent;
modalRef = {
name: openerRef.id_to_windowname(widgetName),
close: function(){
close: function() {
openerRef.dismissRelatedObjectModal();
}
};
@@ -49,4 +49,4 @@
break;
}
})();
}());