mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	some javascript fixes after namespace implementation
This commit is contained in:
		@@ -50,7 +50,6 @@
 | 
			
		||||
      <p>Find public corpora.</p>
 | 
			
		||||
      <div class="card">
 | 
			
		||||
        <div class="card-content">
 | 
			
		||||
          <span class="card-title">Public Corpora</span>
 | 
			
		||||
          <div id="public-corpus-list"></div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
@@ -63,7 +62,7 @@
 | 
			
		||||
{{ super() }}
 | 
			
		||||
<script>
 | 
			
		||||
  let publicUserListElement = document.querySelector('#public-user-list');
 | 
			
		||||
  let publicUserList = new ResourceLists.PublicUserList(publicUserListElement);
 | 
			
		||||
  let publicUserList = new nopaque.resource_lists.PublicUserList(publicUserListElement);
 | 
			
		||||
  publicUserList.add(
 | 
			
		||||
    [
 | 
			
		||||
      {% for user in users %}
 | 
			
		||||
@@ -73,7 +72,7 @@
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  let publicCorpusListElement = document.querySelector('#public-corpus-list');
 | 
			
		||||
  let publicCorpusList = new ResourceLists.PublicCorpusList(publicCorpusListElement);
 | 
			
		||||
  let publicCorpusList = new nopaque.resource_lists.PublicCorpusList(publicCorpusListElement);
 | 
			
		||||
  publicCorpusList.add(
 | 
			
		||||
    [
 | 
			
		||||
      {% for corpus in corpora %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user