File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ application.register('tabs', Tabs)
1212``` html
1313<div data-controller =" tabs" data-tabs-active-tab-class =" -mb-px border-l border-t border-r rounded-t" >
1414 <ul class =" list-reset flex border-b" >
15- <li class =" -mb-px mr-1" data-tabs-target =" tab" data-action =" click->tabs#change" >
15+ <li class =" -mb-px mr-1" data-tabs-target =" tab" data-action =" click->tabs#change:prevent " >
1616 <a class =" bg-white inline-block py-2 px-4 text-blue-500 hover:text-blue-700 font-semibold no-underline" href =" #" >Active</a >
1717 </li >
18- <li class =" mr-1" data-tabs-target =" tab" data-action =" click->tabs#change" >
18+ <li class =" mr-1" data-tabs-target =" tab" data-action =" click->tabs#change:prevent " >
1919 <a class =" bg-white inline-block py-2 px-4 text-blue-500 hover:text-blue-700 font-semibold no-underline" href =" #" >Tab</a >
2020 </li >
21- <li class =" mr-1" data-tabs-target =" tab" data-action =" click->tabs#change" >
21+ <li class =" mr-1" data-tabs-target =" tab" data-action =" click->tabs#change:prevent " >
2222 <a class =" bg-white inline-block py-2 px-4 text-blue-500 hover:text-blue-700 font-semibold no-underline" href =" #" >Tab</a >
2323 </li >
2424 <li class =" mr-1" >
You can’t perform that action at this time.
0 commit comments