מדיה ויקי:Gadget-HotCat.js: הבדלים בין גרסאות בדף
Change onsubmit handling to work together with MediaWiki:UploadForm.js |
Try to fix a layout bug |
||
| שורה 43: | שורה 43: | ||
ntde.style.verticalAlign = "middle" ; | ntde.style.verticalAlign = "middle" ; | ||
catline.id = "catlinks" ; | catline.id = "catlinks" ; | ||
// On the upload form, the suggestion box appears at the very top of the page. That is because | |||
// the innermost enclosing div of the upload form (and it's table) that has position "relative" | |||
// is the bodyContent div. Try to fix that by giving catline relative positioning, so absolute | |||
// positioning within should be relative to catline. Lupo, 2008-01-18 | |||
catline.style.position ="relative"; | |||
np.className = "catlinks" ; | np.className = "catlinks" ; | ||
catline.appendChild ( np ) ; | catline.appendChild ( np ) ; | ||