diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-12 09:47:21 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-09 16:01:17 -0600 |
commit | 6c811d478d60246a8c2abf4b1bc4fd252d344ed9 (patch) | |
tree | 93b682fc39d86e2788d11ee94e095b2c077c390a /app/assets/javascripts/droplab | |
parent | 513cdda31667f0058b24e8f66d87ddfcf89b7fb4 (diff) | |
download | gitlab-ce-6c811d478d60246a8c2abf4b1bc4fd252d344ed9.tar.gz |
Remove show() as it is automatically called on setData when there is data
Diffstat (limited to 'app/assets/javascripts/droplab')
-rw-r--r-- | app/assets/javascripts/droplab/droplab_ajax_filter.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/droplab/droplab_ajax_filter.js b/app/assets/javascripts/droplab/droplab_ajax_filter.js index 943ee9fa0a4..6e1eb080e3b 100644 --- a/app/assets/javascripts/droplab/droplab_ajax_filter.js +++ b/app/assets/javascripts/droplab/droplab_ajax_filter.js @@ -87,8 +87,6 @@ require('../window')(function(w){ if (onlyDynamicList && data.length === 0) { self.hook.list.hide(); - } else if (onlyDynamicList && data.length !== 0) { - self.hook.list.show(); } self.hook.list.setData.call(self.hook.list, data); |