Skip to content

Commit

Permalink
code opt1
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-rajneeshkumar committed Nov 9, 2023
1 parent d74ffab commit dac2ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/tabs-horizontal/tabs-horizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function redirectedNav() {
const hashUrl = window.location.hash.split('#')[1];
setTimeout(() => {
const tab = document.getElementById(hashUrl);
if(tab){
if (tab){

Check failure on line 23 in blocks/tabs-horizontal/tabs-horizontal.js

View workflow job for this annotation

GitHub Actions / build

Missing space before opening brace

Check failure on line 23 in blocks/tabs-horizontal/tabs-horizontal.js

View workflow job for this annotation

GitHub Actions / build

Trailing spaces not allowed
const tabSection = tab.closest('.section');
tab.click();
window.scroll({
Expand Down

0 comments on commit dac2ba5

Please sign in to comment.