fix a minification issue

pull/2502/head
Florian Kraft 10 years ago
parent fe8ff8fc2e
commit c33c9f7c30
No known key found for this signature in database
GPG Key ID: 786CD08D94605A9E
  1. 4
      app/assets/javascripts/work_packages.js.erb

@ -39,10 +39,10 @@ var WorkPackage = WorkPackage || {};
if (!window.angular || button.length < 1) {
return;
}
angular.element('body').injector().invoke(function($compile) {
angular.element('body').injector().invoke(['$compile', function($compile) {
var scope = angular.element(button).scope();
$compile(button)(scope);
})
}])
};
init = function () {

Loading…
Cancel
Save