Commit dba576ca172e19574a92c0a00d3a2a025e8d6006
1 parent
7765d4b6
fix Tabs sort in Firefox
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
src/components/tabs/tabs.vue
@@ -191,8 +191,6 @@ | @@ -191,8 +191,6 @@ | ||
191 | TabPanes.sort((a, b) => { | 191 | TabPanes.sort((a, b) => { |
192 | if (a.index && b.index) { | 192 | if (a.index && b.index) { |
193 | return a.index > b.index ? 1 : -1; | 193 | return a.index > b.index ? 1 : -1; |
194 | - } else { | ||
195 | - return 1; | ||
196 | } | 194 | } |
197 | }); | 195 | }); |
198 | return TabPanes; | 196 | return TabPanes; |