From 70f06134ff3d3f5f09897232eb53787dca384b8e Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 19 Sep 2020 06:45:03 +1000 Subject: [PATCH] docs: Fix simple typo, transiton -> transition There is a small typo in dist/jquery.fancybox.js, src/js/core.js. Should read `transition` rather than `transiton`. --- dist/jquery.fancybox.js | 6 +++--- src/js/core.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/jquery.fancybox.js b/dist/jquery.fancybox.js index 806b2703..2f90b724 100644 --- a/dist/jquery.fancybox.js +++ b/dist/jquery.fancybox.js @@ -2461,7 +2461,7 @@ return; } - // Prepare for CSS transiton + // Prepare for CSS transition // ========================= $.fancybox.stop($slide); @@ -2553,7 +2553,7 @@ self.preload("inline"); - // Trigger any CSS transiton inside the slide + // Trigger any CSS transition inside the slide forceRedraw(current.$slide); current.$slide.addClass("fancybox-slide--complete"); @@ -5629,4 +5629,4 @@ }); } }); -})(document, jQuery); \ No newline at end of file +})(document, jQuery); diff --git a/src/js/core.js b/src/js/core.js index 998995ed..6757d4f9 100644 --- a/src/js/core.js +++ b/src/js/core.js @@ -2451,7 +2451,7 @@ return; } - // Prepare for CSS transiton + // Prepare for CSS transition // ========================= $.fancybox.stop($slide); @@ -2543,7 +2543,7 @@ self.preload("inline"); - // Trigger any CSS transiton inside the slide + // Trigger any CSS transition inside the slide forceRedraw(current.$slide); current.$slide.addClass("fancybox-slide--complete"); @@ -3422,4 +3422,4 @@ } }); })(); -})(window, document, jQuery); \ No newline at end of file +})(window, document, jQuery);