Skip to content

Commit

Permalink
v1.44.4: tweak mse66646 selector for jQuery 1.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vyznev committed Oct 5, 2016
1 parent e383396 commit 7358dc7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Another somewhat delayed release. A few fixes added, a few removed. I'm trying

* The [mse234680](http://meta.stackexchange.com/q/234680) fix broke on jQuery v1.12.4, fixed. (Reported by DavidPostill, thanks!)

**Changes in v1.44.4:**

* Update [mse66646](http://meta.stackexchange.com/q/66646) fix for jQuery v1.12.4 compatibility.


1.42 (2 Dec 2015)
====
Expand Down
2 changes: 1 addition & 1 deletion SOUP.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @namespace https://github.com/vyznev/
// @description Miscellaneous client-side fixes for bugs on Stack Exchange sites
// @author Ilmari Karonen
// @version 1.44.3
// @version 1.44.4
// @copyright 2014-2016, Ilmari Karonen (http://stackapps.com/users/10283/ilmari-karonen)
// @license ISC; http://opensource.org/licenses/ISC
// @match *://*.stackexchange.com/*
Expand Down
4 changes: 2 additions & 2 deletions SOUP.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @namespace https://github.com/vyznev/
// @description Miscellaneous client-side fixes for bugs on Stack Exchange sites
// @author Ilmari Karonen
// @version 1.44.3
// @version 1.44.4
// @copyright 2014-2016, Ilmari Karonen (http://stackapps.com/users/10283/ilmari-karonen)
// @license ISC; http://opensource.org/licenses/ISC
// @match *://*.stackexchange.com/*
Expand Down Expand Up @@ -530,7 +530,7 @@ fixes.mse66646 = {
StackExchange.helpers.submitFormOnEnterPress = function ($form) {
var $txt = $form.find('textarea');
$txt.keydown(function (event) {
if (event.which === 13 && !event.shiftKey && !$txt.prev("#tabcomplete:visible").length) {
if (event.which === 13 && !event.shiftKey && !$txt.prev("#tabcomplete > li:visible").length) {
$form.submit();
}
}).keypress(function (event) {
Expand Down

0 comments on commit 7358dc7

Please sign in to comment.