567
правок
User (обсуждение | вклад) Нет описания правки |
User (обсуждение | вклад) Нет описания правки |
||
Строка 1: | Строка 1: | ||
// Get the select element and the forms | // Get the select element and the forms | ||
var currentPageHref = decodeURI(window.location.href); | var currentPageHref = decodeURI(window.location.href); | ||
if ((window.location.href.indexOf(currentPageHref ) > -1) { | if ((window.location.href.indexOf(currentPageHref) > -1) { | ||
console.log('yes'); | console.log('yes'); | ||
} | } |