mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
REFACTOR: Keyboard Shortcuts should send their actions directly to
posts, not by activating clicks on buttons.
This commit is contained in:
@ -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>",
|
||||
|
Reference in New Issue
Block a user