satis 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08ecf41b46ac3bae47d1b773a98a8e8939d91bfd9dd969e399613812e25c0044'
4
- data.tar.gz: 816ca53e571940c89344342fca2731d19355284eda3300ecca4b4ac7e814e4ed
3
+ metadata.gz: cf74c30badf9e24f0ecd2b80e47568dc846ad750ed5d05dad327ce0cccee0d06
4
+ data.tar.gz: 81cc8495a00bcbe9d793d9dc90d7e383ce9b21f2eb9c17abc5741804d3f4841b
5
5
  SHA512:
6
- metadata.gz: 01fbddb95dd94f619f3630acd58fa0d47e4a33f2476e0ff17fc73812be4047c947f13400d357334f5e962e9a9d29a07cdcdb2fd6b58029ced0c5d2ef5b6f6b0e
7
- data.tar.gz: 1157e4c7d47cc509a4db5d93b6848401e0e021a8f4b982456bbab8f4ad5bfc1084d4b22272e5447561a00da2d9524acd8c9f07be4ce64c8e7e86ad64b545f3b9
6
+ metadata.gz: 87ce373698005201b4c26ff7f37eec141e7f5f519391bbce776d10b0025d465273e810f4823887f299bcb494c1f47b8ad15fcfc982a0b25fb0ca7e272a0139f3
7
+ data.tar.gz: a741e2c352826b72e0f33b53fb8210fb06462f3394fae0f5361f311a81c34e3cad0098296c7d93cb4dfe7c5a9bbc269e1bafe983b871215efda0d13c0bd7b273
@@ -53,6 +53,12 @@ export default class TabsComponentController extends ApplicationController {
53
53
  return el.attributes["id"] === clickedTab.attributes["id"]
54
54
  })
55
55
  }
56
+
57
+ //return if tab is already selected
58
+ if (this.tabTargets[index].classList.contains("selected")) {
59
+ return
60
+ }
61
+
56
62
  this.open(index, true)
57
63
 
58
64
  if (this.keyValue) {
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.0.8"
2
+ VERSION = "2.0.9"
3
3
  end
data/package.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "postcss-mixins": "^9.0.4",
6
6
  "tailwindcss": "^3.4.1"
7
7
  },
8
- "version": "2.0.4"
8
+ "version": "2.0.9"
9
9
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-23 00:00:00.000000000 Z
11
+ date: 2024-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser