diff options
-rw-r--r-- | app/assets/javascripts/label_manager.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/label_manager.js b/app/assets/javascripts/label_manager.js index 43621deb4fd..8013df53f25 100644 --- a/app/assets/javascripts/label_manager.js +++ b/app/assets/javascripts/label_manager.js @@ -9,7 +9,7 @@ import axios from './lib/utils/axios_utils'; export default class LabelManager { constructor({ togglePriorityButton, prioritizedLabels, otherLabels } = {}) { this.togglePriorityButton = togglePriorityButton || $('.js-toggle-priority'); - this.prioritizedLabels = prioritizedLabels || $('.js-prioritized-labels-sortable'); + this.prioritizedLabels = prioritizedLabels || $('.js-prioritized-labels'); this.otherLabels = otherLabels || $('.js-other-labels'); this.errorMessage = 'Unable to update label prioritization at this time'; this.emptyState = document.querySelector('#js-priority-labels-empty-state'); @@ -102,7 +102,6 @@ export default class LabelManager { } onPrioritySortUpdate() { - debugger; this.savePrioritySort() .catch(() => flash(this.errorMessage)); } |