From 05cc010566fb59c96d288c6ff1596aa0d6d5e39c Mon Sep 17 00:00:00 2001 From: Masahiro Iuchi Date: Wed, 18 Jun 2025 10:46:04 +0900 Subject: [PATCH] Fix a jQuery Migrate warning --- plugins/SharedPreview/tmpl/shared_preview_strip.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/SharedPreview/tmpl/shared_preview_strip.tmpl b/plugins/SharedPreview/tmpl/shared_preview_strip.tmpl index 4319de8..cb01ef0 100644 --- a/plugins/SharedPreview/tmpl/shared_preview_strip.tmpl +++ b/plugins/SharedPreview/tmpl/shared_preview_strip.tmpl @@ -198,7 +198,7 @@ }); - jQuery(window).resize(function() { + jQuery(window).on('resize', function() { frameResize(); });