Skip to content
Closed

abce #41107

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version = 1

[[analyzers]]
name = "shell"

[[analyzers]]
name = "javascript"

[[analyzers]]
name = "ruby"
18 changes: 0 additions & 18 deletions js/src/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,6 @@ const Button = (($) => {
if (rootElement) {
const input = $(this._element).find(Selector.INPUT)[0]

if (input) {
if (input.type === 'radio') {
if (input.checked &&
$(this._element).hasClass(ClassName.ACTIVE)) {
triggerChangeEvent = false

} else {
const activeElement = $(rootElement).find(Selector.ACTIVE)[0]

if (activeElement) {
$(activeElement).removeClass(ClassName.ACTIVE)
}
}
}

if (triggerChangeEvent) {
if (input.hasAttribute('disabled') ||
Expand Down Expand Up @@ -132,10 +118,6 @@ const Button = (($) => {
data = new Button(this)
$(this).data(DATA_KEY, data)
}

if (config === 'toggle') {
data[config]()
}
})
}

Expand Down
1 change: 1 addition & 0 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
//
// Columns
//
//bbb

.card-columns {
.card {
Expand Down