mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fix JS error from cropper, stalling eTemplate with minified JS
This commit is contained in:
parent
abd6f7d669
commit
3575f06501
@ -441,6 +441,11 @@
|
||||
// get TypeScript modules working with our loader
|
||||
function require(_file)
|
||||
{
|
||||
switch(_file)
|
||||
{
|
||||
case 'jquery': // cropper mistakes this for commonJS (typeof exports === 'object')
|
||||
return window.jQuery;
|
||||
}
|
||||
return window.exports;
|
||||
}
|
||||
var exports = {};
|
||||
|
Loading…
Reference in New Issue
Block a user