mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-10-14 18:51:56 +00:00
Use a single js namespace as parent for all other nopaque namespaces.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ResourceDisplays.CorpusDisplay = class CorpusDisplay extends ResourceDisplays.ResourceDisplay {
|
||||
nopaque.resource_displays.CorpusDisplay = class CorpusDisplay extends nopaque.resource_displays.ResourceDisplay {
|
||||
static htmlClass = 'corpus-display';
|
||||
|
||||
constructor(displayElement) {
|
||||
@@ -7,7 +7,7 @@ ResourceDisplays.CorpusDisplay = class CorpusDisplay extends ResourceDisplays.Re
|
||||
this.displayElement
|
||||
.querySelector('.action-button[data-action="build-request"]')
|
||||
.addEventListener('click', (event) => {
|
||||
Requests.corpora.entity.build(this.corpusId);
|
||||
nopaque.requests.corpora.entity.build(this.corpusId);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user