malteos commited on
Commit
67b0366
1 Parent(s): aeca951
Files changed (2) hide show
  1. index.html +5 -2
  2. papers_with_urls.js +0 -0
index.html CHANGED
@@ -87,8 +87,11 @@ document.addEventListener('DOMContentLoaded', function() {
87
  track = data[i].track,
88
  authors = data[i].authors,
89
  label = data[i].label
 
 
 
90
  url = 'https://2022.emnlp.org/#unavailable'
91
-
92
 
93
  // circleMarker, Marker
94
  marker = new L.circleMarker(new L.latLng(loc), {title: title, radius: 5, className: 'label-' + label} );//se property searched
@@ -129,7 +132,7 @@ document.addEventListener('DOMContentLoaded', function() {
129
  <div id="map"></div>
130
  </div>
131
 
132
- <script src="./papers.js"></script>
133
  <script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
134
  <script src="https://opengeo.tech/maps/leaflet-search/src/leaflet-search.js"></script>
135
 
 
87
  track = data[i].track,
88
  authors = data[i].authors,
89
  label = data[i].label
90
+ url = data[i].url
91
+
92
+ if (url == '') {
93
  url = 'https://2022.emnlp.org/#unavailable'
94
+ }
95
 
96
  // circleMarker, Marker
97
  marker = new L.circleMarker(new L.latLng(loc), {title: title, radius: 5, className: 'label-' + label} );//se property searched
 
132
  <div id="map"></div>
133
  </div>
134
 
135
+ <script src="./papers_with_urls.js"></script>
136
  <script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
137
  <script src="https://opengeo.tech/maps/leaflet-search/src/leaflet-search.js"></script>
138
 
papers_with_urls.js ADDED
The diff for this file is too large to render. See raw diff