Skip to content

Commit 9208bea

Browse files
authored
doc: javascript fix (contains --> includes [d'oh!]) (#186)
Signed-off-by: Benjamin Fitch <[email protected]>
1 parent 3789aaf commit 9208bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
var wapLocalCode = 'us-en'; // Dynamically set per localized site; see mapping table for values
66
var wapSection = "oneapi-mkl"; // WAP team will give you a unique section for your site
77
// Load TMS
8-
if (document.location.href.contains("oneapi-src.github.io")) {
8+
if (document.location.href.includes("oneapi-src.github.io")) {
99
(function () {
1010
var url = 'https://www.intel.com/content/dam/www/global/wap/tms-loader.js'; // WAP file URL
1111
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = url;

0 commit comments

Comments
 (0)