Commit df0a77a7 authored by Connor Shea's avatar Connor Shea

Removes two simple instances of inline JavaScript.

parent 95efb6f1
......@@ -181,6 +181,9 @@
break;
case 'projects':
new NamespaceSelects();
break;
case 'labels':
new Labels();
}
break;
case 'dashboard':
......@@ -206,6 +209,7 @@
new ProjectNew();
break;
case 'show':
new Star();
new ProjectNew();
new ProjectShow();
new NotificationsDropdown();
......
......@@ -28,6 +28,3 @@
.form-actions
= f.submit 'Save', class: 'btn btn-save js-save-button'
= link_to "Cancel", admin_labels_path, class: 'btn btn-cancel'
:javascript
new Labels();
......@@ -24,6 +24,3 @@
.project-clone-holder
= render "shared/clone_panel"
:javascript
new Star();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment