Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IE 11
  • Loading branch information
jonherrmann committed Nov 23, 2018
1 parent 9d1d4d7 commit 0968073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ require.config( {

'https://cdnjs.cloudflare.com/ajax/libs/blueimp-file-upload/9.14.2/js/jquery.fileupload.min.js': 'sha256-tcXzqklRDpmITiQ0Ff+S6H2uUQl089oXkEyGjOOGmN4='
};
var external = !path.startsWith('js/');
var jsPos = path.indexOf('js/');
var sri = sri[path];
if(external===true) {
if(jsPos != 0) {
node.setAttribute('crossorigin', 'anonymous');
if(sri) {
node.setAttribute('integrity', sri);
Expand Down

0 comments on commit 0968073

Please sign in to comment.