Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit b877b6a

Browse files
committed
fix #243 - fix sorting context
1 parent a108c76 commit b877b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/images.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@
652652
*/
653653

654654
Images.prototype.sorting = function () {
655-
this.options.sorting();
655+
$.proxy(this.options.sorting, this)();
656656
};
657657

658658
/** Plugin initialization */

0 commit comments

Comments
 (0)