Commit 27b22040 authored by Clement Ho's avatar Clement Ho

Convert hasOwnProperty check to if statement

parent a26cc6b2
......@@ -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();
......
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