appscms-tools-theme 1.5.1 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ const addScripts=()=>{
7
7
  if(!check){
8
8
  const dropboxscript = document.createElement('script')
9
9
  dropboxscript.src = 'https://www.dropbox.com/static/api/2/dropins.js'
10
+ dropboxscript.crossOrigin = 'anonymous'
10
11
  dropboxscript.dataset.appKey = '{{site.dropboxapikey}}'
11
12
  dropboxscript.id='dropboxjs'
12
13
  document.head.append(dropboxscript)
@@ -15,6 +16,7 @@ const addScripts=()=>{
15
16
  if(!checkgooglescript){
16
17
  const googlescript = document.createElement('script')
17
18
  googlescript.src = 'https://apis.google.com/js/api.js'
19
+ googlescript.crossOrigin = 'anonymous'
18
20
  document.head.append(googlescript)
19
21
  }
20
22
  }
@@ -9,12 +9,14 @@ const addScripts=()=>{
9
9
  dropboxscript.src = 'https://www.dropbox.com/static/api/2/dropins.js'
10
10
  dropboxscript.dataset.appKey = '{{site.dropboxapikey}}'
11
11
  dropboxscript.id='dropboxjs'
12
+ dropboxscript.crossOrigin = 'anonymous'
12
13
  document.head.append(dropboxscript)
13
14
  }
14
15
  const checkgooglescript= Array.from(scripts).find(item=>item.src==='https://apis.google.com/js/api.js')
15
16
  if(!checkgooglescript){
16
17
  const googlescript = document.createElement('script')
17
18
  googlescript.src = 'https://apis.google.com/js/api.js'
19
+ googlescript.crossOrigin = 'anonymous'
18
20
  document.head.append(googlescript)
19
21
  }
20
22
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-10 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -182,6 +182,7 @@ files:
182
182
  - assets/cloud.svg
183
183
  - assets/cross.svg
184
184
  - assets/css/blog.css
185
+ - assets/css/bootstrap.min.css
185
186
  - assets/css/tools.css
186
187
  - assets/easy.svg
187
188
  - assets/facebook.svg