Drupal: manjkajoca spremenljivka

This commit is contained in:
Robert 2021-03-11 14:50:03 +01:00
parent 740ed325c0
commit a85f515eff

View File

@ -79,12 +79,12 @@
/**
* Napredno iskanje
*/
// var drupalLang = 'sl';
// var drupalButtonName = 'Iskanje po vprašalnikih';
// if(location.pathname.split("/")[2] == 'en') {
// drupalLang = 'en';
// drupalButtonName = 'Search surveys';
// }
var drupalLang = 'sl';
var drupalButtonName = 'Iskanje po vprašalnikih';
if(location.pathname.split("/")[2] == 'en') {
drupalLang = 'en';
drupalButtonName = 'Search surveys';
}
// Dodamo Gumb za napredno iskanje
if (jQuery('#search-api-page-search-form').length > 0) {