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

Commit 6898b62

Browse files
committed
Merge pull request #246 from orthes/fix-sorting-context
fix #243 - fix sorting context
2 parents 9f7bb63 + b877b6a commit 6898b62

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
@@ -655,7 +655,7 @@
655655
*/
656656

657657
Images.prototype.sorting = function () {
658-
this.options.sorting();
658+
$.proxy(this.options.sorting, this)();
659659
};
660660

661661
/** Plugin initialization */

0 commit comments

Comments
 (0)