removed all onclick handlers from index template

This commit is contained in:
azivner
2018-03-24 00:54:50 -04:00
parent f8649feea4
commit 1612e9093d
14 changed files with 61 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
"use strict";
const recentChanges = (function() {
const $showDialogButton = $("#recent-changes-button");
const $dialog = $("#recent-changes-dialog");
async function showDialog() {
@@ -83,6 +84,8 @@ const recentChanges = (function() {
$(document).bind('keydown', 'alt+r', showDialog);
$showDialogButton.click(showDialog);
return {
showDialog
};