Skip to content

Commit 40910c8

Browse files
committed
Remove single layout request to make linting happier.
1 parent 53e2781 commit 40910c8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

assets/js/wp-a11y-docs.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
---
2-
layout: null
3-
---
4-
5-
(function (jtd, undefined) {
1+
(function (jtd, undefined) {
62

73
//
84
// ---------------------------------------------------------
@@ -130,7 +126,7 @@
130126
*/
131127
function initSearch() {
132128
var request = new XMLHttpRequest();
133-
request.open('GET', '{{ "assets/js/search-data.json" | relative_url }}', true);
129+
request.open('GET', '/assets/js/search-data.json', true);
134130

135131
request.onload = function() {
136132
if (request.status >= 200 && request.status < 400) {

0 commit comments

Comments
 (0)