Skip to content

Commit

Permalink
FIX Return timeout ID for enwtine runsoon function (#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Apr 12, 2023
1 parent 1152031 commit e6eca3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/vendor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion thirdparty/jquery-entwine/jquery.entwine.js
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ Sizzle is good for finding elements for a selector, but not so good for telling

// Helper to run a function "soon". In "synchronous" mode this is overridden so soon === now, but by default this uses
// setTimeout wrapped in $() (shorthand for $(document).ready()) to ensure it never runs before DOMContentLoaded
var runSoon = (fn, delay) => $(_ => window.setTimeout(fn, delay));
var runSoon = (fn, delay) => window.setTimeout(_ => $(fn), delay);

/** The timer handle for the asynchronous matching call */
var ChangeDetails = Base.extend({
Expand Down

0 comments on commit e6eca3a

Please sign in to comment.