REFACTOR: Keyboard Shortcuts should send their actions directly to

posts, not by activating clicks on buttons.
This commit is contained in:
Robin Ward
2014-06-11 12:49:57 -04:00
parent c1179014fc
commit 176120cbc1
5 changed files with 169 additions and 148 deletions

View File

@ -25,13 +25,7 @@ module("Discourse.KeyboardShortcuts", {
$("#qunit-fixture").html([
"<article class='topic-post selected'>",
" <button class='bookmark'></button>",
" <button class='delete'></button>",
" <button class='edit'></button>",
" <button class='like'></button>",
" <button class='create'></button>",
" <button class='share'></button>",
" <button class='flag'></button>",
"<a class='post-date'></a>" +
"</article>",
"<div class='notification-options'>",
" <ul>",