MediaWiki:Common.js: различия между версиями
>Sikon Нет описания правки |
>Sikon Нет описания правки |
||
| Строка 14: | Строка 14: | ||
sysdep_init(); | sysdep_init(); | ||
wikipedia_iwiki(); | wikipedia_iwiki(); | ||
fixSearch(); | |||
if(typeof onPageLoad != "undefined") | if(typeof onPageLoad != "undefined") | ||
| Строка 194: | Строка 195: | ||
document.getElementById("wpReason").value = value; | document.getElementById("wpReason").value = value; | ||
} | } | ||
function fixSearch() | |||
{ | |||
var button = document.getElementById('searchSubmit'); | |||
if(button) | |||
button.name = 'go'; | |||
} | |||
addOnloadHook(onPageInit); | addOnloadHook(onPageInit); | ||