moved dialog entrypoints into bootstrap, fixes

This commit is contained in:
azivner
2018-03-25 19:49:33 -04:00
parent 19c605a9a8
commit 341f47f0f2
15 changed files with 62 additions and 102 deletions

View File

@@ -2,7 +2,6 @@ import linkService from '../services/link.js';
import utils from '../services/utils.js';
import server from '../services/server.js';
const $showDialogButton = $("#recent-changes-button");
const $dialog = $("#recent-changes-dialog");
async function showDialog() {
@@ -83,10 +82,6 @@ function groupByDate(result) {
return groupedByDate;
}
$(document).bind('keydown', 'alt+r', showDialog);
$showDialogButton.click(showDialog);
export default {
showDialog
};