diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2025-03-03 20:15:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 20:15:14 +0100 |
commit | 1da395de2e6759dfe9a7a199b03a39365e30f16c (patch) | |
tree | b597281911de6cde1682932ca9c242c0f8b5841d /ui/widgets/tabs.js | |
parent | 302b488b9214e14830496578f7cf0aebcc33c132 (diff) | |
download | jquery-ui-1da395de2e6759dfe9a7a199b03a39365e30f16c.tar.gz jquery-ui-1da395de2e6759dfe9a7a199b03a39365e30f16c.zip |
Build: Update ESLint to v9, migrate to flat config, lint dist files
Dist files linting is limited to checking if they're proper ES5.
Closes gh-2336
Diffstat (limited to 'ui/widgets/tabs.js')
-rw-r--r-- | ui/widgets/tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/widgets/tabs.js b/ui/widgets/tabs.js index 7b7907c32..49468feb3 100644 --- a/ui/widgets/tabs.js +++ b/ui/widgets/tabs.js @@ -73,10 +73,10 @@ $.widget( "ui.tabs", { // Decoding may throw an error if the URL isn't UTF-8 (#9518) try { anchorUrl = decodeURIComponent( anchorUrl ); - } catch ( error ) {} + } catch ( _error ) {} try { locationUrl = decodeURIComponent( locationUrl ); - } catch ( error ) {} + } catch ( _error ) {} return anchor.hash.length > 1 && anchorUrl === locationUrl; }; |