Skip to content

Commit

Permalink
refactor: compat utils
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Dec 9, 2024
1 parent 8a268bb commit e734e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/compatibility.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const isKirby4 = () => window.panel.plugins.viewButtons === undefined;
export const isKirby5 = () => window.panel.plugins.viewButtons !== undefined;
export const isKirby4 = () => !isKirby5();

0 comments on commit e734e16

Please sign in to comment.