mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-08 17:21:16 +00:00
simplification
This commit is contained in:
1 parent
b0447e2544
commit
3004334d05
2 files changed
+2
-6
No files matched your search
@@ -96,9 +96,7 @@ class SpaCyNLPPipelineModelList extends RessourceList {
|
||||
}
|
||||
|
||||
onClick(event) {
|
||||
if (event.target.closest('.action-switch')) {
|
||||
return;
|
||||
}
|
||||
if (event.target.closest('.action-switch')) {return;}
|
||||
let actionButtonElement = event.target.closest('.action-button');
|
||||
let action = actionButtonElement === null ? 'view' : actionButtonElement.dataset.action;
|
||||
let spaCyNLPPipelineModelElement = event.target.closest('tr');
|
||||
|
||||
@@ -96,9 +96,7 @@ class TesseractOCRPipelineModelList extends RessourceList {
|
||||
}
|
||||
|
||||
onClick(event) {
|
||||
if (event.target.closest('.action-switch')) {
|
||||
return;
|
||||
}
|
||||
if (event.target.closest('.action-switch')) {return;}
|
||||
let actionButtonElement = event.target.closest('.action-button');
|
||||
let action = actionButtonElement === null ? 'view' : actionButtonElement.dataset.action;
|
||||
let tesseractOCRPipelineModelElement = event.target.closest('tr');
|
||||
|
||||
Reference in new issue
Block a user