Fix BlobViewer instatiation in dispatcher

This commit is contained in:
Luke "Jared" Bennett 2017-08-01 02:36:01 +01:00
parent c92220a8b6
commit 02e1e991a5
No known key found for this signature in database
GPG key ID: 402ED51FB5D306C2

View file

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