appscms-tools-theme 2.7.5 → 2.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/js/frame.js +6 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f481439b1f8f2c032eca80dacf0b78685cc3461da0c895fd820da843770e607a
4
- data.tar.gz: 4d722bc632e3ef9cd008c69d25e88aef0deb4c626fb74f819832d79e5297c92b
3
+ metadata.gz: eb95718f95ecc666cb3546a4abac4a3bfacb6cf569e26528dca7d488eca5adf3
4
+ data.tar.gz: f92bb7ab851c341e7149cef3fa667a1198f0a9953c53740a5dcac3ca42c68f12
5
5
  SHA512:
6
- metadata.gz: 4eec6fd54380307c0e48f0c7d1e5d2faf263498b9700b54128bf9b887ceffdb3b0c8abf26030c420188c90ce9382fccf84ebe8402bb80194b886fd9edea1531c
7
- data.tar.gz: 3c7def89e2a1b085138fc2dfcd8e4a347612c32d3f1951ecd12ccc839d93355400b7437e0cdc13aaa163b0d2356a1b68f3fdd96f9c4676eae550d43f750a6cfe
6
+ metadata.gz: 5c89896f64394da4e872237a0c55c3616fc1c947a140aefe8e90afcf68d2e6dd54a448bc8ffe616deaa00a6f8335e86ef81acfbd5dbe35af2140955d6475b47c
7
+ data.tar.gz: 3cddf04d181e9181dcedd57ea473f14ae991f671a234d18591c315fdbf959b8f57047ddda3605f257c83361cdb9a4d1b953e0f3eb3e442db951a2dc24ddbb53d
data/assets/js/frame.js CHANGED
@@ -1,5 +1,9 @@
1
+ ---
2
+ ---
3
+
1
4
  const getScript = document.currentScript
2
5
  const pageTool = getScript.dataset.tool
6
+ const downloadName = "{{site.downloadName}}"
3
7
  const lang = getScript.dataset.lang
4
8
  const inputBox = document.querySelector('#Inputbox')
5
9
  const fileDropBox = document.querySelector('.custom-box')
@@ -47,6 +51,7 @@ const fileOnChange = (e) => {
47
51
  }
48
52
  const closeModal = () => {
49
53
  cropModal.style.display = 'none'
54
+ document.body.style.overflow = "auto"
50
55
  }
51
56
  const closeExamplesModal = () => {
52
57
  exampleModal.style.display = 'none'
@@ -248,7 +253,7 @@ download.addEventListener('click', () => {
248
253
  let url = canvas.toDataURL(`image/png`)
249
254
  let a = document.createElement('a')
250
255
  a.href = url
251
- a.download = `safeimagekit-photo-effect-image.png`
256
+ a.download = `${downloadName}-image.png`
252
257
  document.body.appendChild(a)
253
258
  a.click()
254
259
  if (lang === 'en') {
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: 2.7.5
4
+ version: 2.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-14 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll