Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-05-17 05:20:21 +0300
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-05-17 05:20:21 +0300
commit097f6f5ef86bb8cb8fbc8459ebce782647c7d8f1 (patch)
tree52ad18328f74abc58d0c59492949e5a1b6dddb50 /app/assets/javascripts/label_manager.js
parentbc2144d1a74eed8f7f76813d4ad8ca16b8f95922 (diff)
revert scrollable
Diffstat (limited to 'app/assets/javascripts/label_manager.js')
-rw-r--r--app/assets/javascripts/label_manager.js3
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));
}