Skip to content

Commit f4d9151

Browse files
authored
Fixed broken YQL query
1 parent c75094e commit f4d9151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htmlpreview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ var HTMLPreview = {
117117
},
118118

119119
send: function(file, callback) {
120-
document.write('<script src="//query.yahooapis.com/v1/public/yql?q=select%20*%20from%20data.headers%20where%20url%3D%22' + encodeURIComponent(file) + '%22&format=json&diagnostics=true&callback=HTMLPreview.' + callback + '"></script>'); //Get content using YQL
120+
document.write('<script src="//query.yahooapis.com/v1/public/yql?q=select%20*%20from%20data.headers%20where%20url%3D%22' + encodeURIComponent(file) + '%22&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&diagnostics=true&callback=HTMLPreview.' + callback + '"></script>'); //Get content using YQL
121121
},
122122

123123
submitform: function() {

0 commit comments

Comments
 (0)