+7
-1
lines changedFilter options
+7
-1
lines changed Original file line number Diff line number Diff line change
@@ -124,9 +124,15 @@ export const tbodyMixin = Vue.extend({
124
124
}
125
125
},
126
126
onTBodyRowClicked(event) {
127
+
const { $refs } = this
128
+
const tbody = $refs.tbody ? $refs.tbody.$el || $refs.tbody : null
127
129
// Don't emit event when the table is busy, the user clicked
128
130
// on a non-disabled control or is selecting text
129
-
if (this.tbodyRowEventStopped(event) || filterEvent(event) || textSelectionActive(this.$el)) {
131
+
if (
132
+
this.tbodyRowEventStopped(event) ||
133
+
filterEvent(event) ||
134
+
textSelectionActive(tbody || this.$el)
135
+
) {
130
136
return
131
137
}
132
138
this.emitTbodyRowEvent(EVENT_NAME_ROW_CLICKED, event)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4