From 789dbb1e734885bd7cf5ad25f0d2f47765a13657 Mon Sep 17 00:00:00 2001 From: pep Date: Tue, 21 Jul 2020 20:48:09 +0000 Subject: attempt at merge --- public/assets/js/lib/views/details/commentform.js | 2 +- public/assets/js/lib/views/details/comments.js | 2 +- public/assets/js/lib/views/details/editcomment.js | 4 ++-- public/assets/js/lib/views/index/threadform.js | 2 +- public/favicon-16x16.png | Bin 0 -> 1006 bytes public/favicon-32x32.png | Bin 0 -> 3126 bytes public/favicon_io (1).zip | Bin 0 -> 336653 bytes public/favicon_io (2).zip | Bin 0 -> 336581 bytes public/favicon_io.zip | Bin 0 -> 361447 bytes 9 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 public/favicon-16x16.png create mode 100644 public/favicon-32x32.png create mode 100644 public/favicon_io (1).zip create mode 100644 public/favicon_io (2).zip create mode 100644 public/favicon_io.zip (limited to 'public') diff --git a/public/assets/js/lib/views/details/commentform.js b/public/assets/js/lib/views/details/commentform.js index 2b76171..51295cb 100644 --- a/public/assets/js/lib/views/details/commentform.js +++ b/public/assets/js/lib/views/details/commentform.js @@ -25,7 +25,7 @@ var CommentForm = FormView.extend({ }, keydown: function(e){ - if ((e.ctrlKey || e.metaKey || e.altKey) && e.keyCode == 83) { // "s" key + if (((e.ctrlKey || e.metaKey || e.altKey) && e.keyCode == 83) || (e.ctrlKey && e.keyCode == 13)) { // "s" key or "ctrl + enter" e.preventDefault() e.stopPropagation() this.save() diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js index 1e8d127..85054de 100644 --- a/public/assets/js/lib/views/details/comments.js +++ b/public/assets/js/lib/views/details/comments.js @@ -97,4 +97,4 @@ var CommentsView = FormView.extend({ } }, -}) \ No newline at end of file +}) diff --git a/public/assets/js/lib/views/details/editcomment.js b/public/assets/js/lib/views/details/editcomment.js index ff0190a..1db96a5 100644 --- a/public/assets/js/lib/views/details/editcomment.js +++ b/public/assets/js/lib/views/details/editcomment.js @@ -31,7 +31,7 @@ var EditCommentForm = FormView.extend({ }, keydown: function(e){ - if ((e.ctrlKey || e.metaKey || e.altKey) && e.keyCode == 83) { // "s" key + if (((e.ctrlKey || e.metaKey || e.altKey) && e.keyCode == 83) || (e.ctrlKey && e.keyCode == 13)) { // "s" key or "ctrl + enter" e.preventDefault() e.stopPropagation() this.save() @@ -50,4 +50,4 @@ var EditCommentForm = FormView.extend({ success: function(data){ window.location.href = "/details/" + data.comment.thread } -}) \ No newline at end of file +}) diff --git a/public/assets/js/lib/views/index/threadform.js b/public/assets/js/lib/views/index/threadform.js index b71eea0..0edebc8 100644 --- a/public/assets/js/lib/views/index/threadform.js +++ b/public/assets/js/lib/views/index/threadform.js @@ -36,7 +36,7 @@ var ThreadForm = FormView.extend({ }, keydown: function(e){ - if ((e.ctrlKey || e.metaKey || e.altKey) && e.keyCode == 83) { // "s" key + if (((e.ctrlKey || e.metaKey || e.altKey) && e.keyCode == 83) || (e.ctrlKey && e.keyCode == 13)) { // "s" key or "ctrl + enter" e.preventDefault() e.stopPropagation() this.save() diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000..db91b2e Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 0000000..fbc6fc9 Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon_io (1).zip b/public/favicon_io (1).zip new file mode 100644 index 0000000..beb8609 Binary files /dev/null and b/public/favicon_io (1).zip differ diff --git a/public/favicon_io (2).zip b/public/favicon_io (2).zip new file mode 100644 index 0000000..788db85 Binary files /dev/null and b/public/favicon_io (2).zip differ diff --git a/public/favicon_io.zip b/public/favicon_io.zip new file mode 100644 index 0000000..ee3b596 Binary files /dev/null and b/public/favicon_io.zip differ -- cgit v1.2.3-70-g09d2