$(document).onFocusedKeydown(".js-quick-submit", function() { return function(t) { var e, n; return "ctrl+enter" === t.hotkey || "meta+enter" === t.hotkey ? (n = $(this).closest("form"), e = n.find("input[type=submit], button[type=submit]").first(), e.prop("disabled") || n.submit(), !1) : void 0 } })