From 02e1e991a5a5d8ad37db10ddebe1328312c249cd Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" Date: Tue, 1 Aug 2017 02:36:01 +0100 Subject: [PATCH] Fix BlobViewer instatiation in dispatcher --- app/assets/javascripts/dispatcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 38b41cf2a19..9389b4b4ff1 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -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();