summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
authorKN4CK3R <KN4CK3R@users.noreply.github.com>2021-02-27 18:25:00 +0100
committerGitHub <noreply@github.com>2021-02-27 18:25:00 +0100
commit904a26c57c474e0ed7b43dc37269f69b49240301 (patch)
treeee339c837fbaf41450a2fc71be80e31ce3cae5db /web_src/js/index.js
parent42118c6bc8f0167747e3ff3d29b7cbc7615d785b (diff)
downloadgitea-904a26c57c474e0ed7b43dc37269f69b49240301.tar.gz
gitea-904a26c57c474e0ed7b43dc37269f69b49240301.zip
Add Image Diff options in Pull Request Diff view (#14450)
Implemented GitHub style image diff
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index b65291a266..30af5dea15 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -20,6 +20,7 @@ import attachTribute from './features/tribute.js';
import createColorPicker from './features/colorpicker.js';
import createDropzone from './features/dropzone.js';
import initTableSort from './features/tablesort.js';
+import initImageDiff from './features/imagediff.js';
import ActivityTopAuthors from './components/ActivityTopAuthors.vue';
import {initNotificationsTable, initNotificationCount} from './features/notification.js';
import {initStopwatch} from './features/stopwatch.js';
@@ -2693,6 +2694,7 @@ $(document).ready(async () => {
initStopwatch(),
renderMarkdownContent(),
initGithook(),
+ initImageDiff(),
]);
});