Fix BlobViewer instatiation in dispatcher
This commit is contained in:
parent
c92220a8b6
commit
02e1e991a5
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ import FeatureHelper from './helpers/feature_helper';
|
|||
if (FeatureHelper.isNewRepo()) break;
|
||||
|
||||
if ($('#tree-slider').length) new TreeView();
|
||||
if ($('#blob-viewer').length) new BlobViewer();
|
||||
if ($('.blob-viewer').length) new BlobViewer();
|
||||
break;
|
||||
case 'projects:edit':
|
||||
setupProjectEdit();
|
||||
|
|
Loading…
Reference in a new issue