Spaces:
Running
Running
ALLOUNE
commited on
Commit
·
5f4d5d0
1
Parent(s):
681e106
fix url keywords
Browse files- static/script.js +1 -0
static/script.js
CHANGED
|
@@ -329,6 +329,7 @@ function displaySearchResults(data) {
|
|
| 329 |
${spec.working_group ? `<div class="result-detail"><strong>Working Group:</strong> ${spec.working_group}</div>` : ''}
|
| 330 |
${spec.type ? `<div class="result-detail"><strong>Type:</strong> ${spec.type}</div>` : ''}
|
| 331 |
${spec.scope ? `<div class="result-detail"><strong>Scope:</strong> ${spec.scope}</div>` : ''}
|
|
|
|
| 332 |
${hasContent ? `<button class="view-content-btn" onclick="viewContent(${index})">View Content</button>` : ''}
|
| 333 |
</div>
|
| 334 |
</div>
|
|
|
|
| 329 |
${spec.working_group ? `<div class="result-detail"><strong>Working Group:</strong> ${spec.working_group}</div>` : ''}
|
| 330 |
${spec.type ? `<div class="result-detail"><strong>Type:</strong> ${spec.type}</div>` : ''}
|
| 331 |
${spec.scope ? `<div class="result-detail"><strong>Scope:</strong> ${spec.scope}</div>` : ''}
|
| 332 |
+
${spec.url ? `<div class="result-detail result-url"><strong>URL:</strong> <a href="${spec.url}" target="_blank">${spec.url}</a></div>` : ''}
|
| 333 |
${hasContent ? `<button class="view-content-btn" onclick="viewContent(${index})">View Content</button>` : ''}
|
| 334 |
</div>
|
| 335 |
</div>
|