diff options
Diffstat (limited to 'core/src/init.js')
-rw-r--r-- | core/src/init.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/init.js b/core/src/init.js index fab97d2ee2b..9e10a6941e1 100644 --- a/core/src/init.js +++ b/core/src/init.js @@ -14,6 +14,7 @@ import { setUp as setUpContactsMenu } from './components/ContactsMenu.js' import { setUp as setUpMainMenu } from './components/MainMenu.js' import { setUp as setUpUserMenu } from './components/UserMenu.js' import { interceptRequests } from './utils/xhr-request.js' +import { initFallbackClipboardAPI } from './utils/ClipboardFallback.ts' // keep in sync with core/css/variables.scss const breakpointMobileWidth = 1024 @@ -58,6 +59,7 @@ moment.locale(locale) */ export const initCore = () => { interceptRequests() + initFallbackClipboardAPI() $(window).on('unload.main', () => { OC._unloadCalled = true }) $(window).on('beforeunload.main', () => { |