mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added query to post list
This commit is contained in:
@ -13,6 +13,8 @@ App.Presenters.PostUploadPresenter = function(
|
||||
topNavigationPresenter,
|
||||
messagePresenter) {
|
||||
|
||||
var KEY_RETURN = 13;
|
||||
|
||||
var $el = jQuery('#content');
|
||||
var $messages;
|
||||
var template;
|
||||
@ -72,7 +74,7 @@ App.Presenters.PostUploadPresenter = function(
|
||||
}
|
||||
|
||||
function urlHandlerKeyPressed(e) {
|
||||
if (e.which !== 13) {
|
||||
if (e.which !== KEY_RETURN) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user