Commit f0b3bd61 authored by Pedro Moreira da Silva's avatar Pedro Moreira da Silva Committed by Annabel Dunstone Gray

Swap scoped labels help text class toggling

parent 0b45e889
...@@ -16,8 +16,8 @@ class LabelsEE extends Labels { ...@@ -16,8 +16,8 @@ class LabelsEE extends Labels {
const useScoped = $parentEl.find('.js-use-scoped-labels'); const useScoped = $parentEl.find('.js-use-scoped-labels');
const isScoped = isScopedLabel({ title }); const isScoped = isScopedLabel({ title });
hasScoped.toggleClass('hidden', isScoped); hasScoped.toggleClass('hidden', !isScoped);
useScoped.toggleClass('hidden', !isScoped); useScoped.toggleClass('hidden', isScoped);
} }
} }
......
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