diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-13 17:51:49 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-10 01:01:24 +0300 |
commit | 27b2204009fb8fee409df013de013146bad1bfde (patch) | |
tree | ff3fc8a9917c272fa60d3fed4f77072b667c135f /app/assets | |
parent | a26cc6b25c2602fd4a47808b8c9c48dea789c6bf (diff) |
Convert hasOwnProperty check to if statement
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/dispatcher.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/dispatcher.js.es6 b/app/assets/javascripts/dispatcher.js.es6 index 5a9ee5c7d78..9a76131b87f 100644 --- a/app/assets/javascripts/dispatcher.js.es6 +++ b/app/assets/javascripts/dispatcher.js.es6 @@ -84,7 +84,7 @@ break; case 'projects:merge_requests:index': case 'projects:issues:index': - if(gl.hasOwnProperty('FilteredSearchManager')) { + if(gl.FilteredSearchManager) { new gl.FilteredSearchManager(); } Issuable.init(); |