Skip to content

Commit 378909e

Browse files
authored
Updating safesearch var
1 parent cfb1d2a commit 378909e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tutorials/Bing-Web-Search/public/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function bingSearchOptions(form) {
319319

320320
var options = [];
321321
options.push("mkt=" + form.where.value);
322-
options.push("SafeSearch=" + (form.safe.checked ? "strict" : "off"));
322+
options.push("SafeSearch=" + (form.safe.checked ? "strict" : "moderate"));
323323
if (form.when.value.length) options.push("freshness=" + form.when.value);
324324
var what = [];
325325
for (var i = 0; i < form.what.length; i++)

0 commit comments

Comments
 (0)