Index: trunk/extensions/DismissableSiteNotice/DismissableSiteNotice.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | var date = new Date(); |
62 | 62 | date.setTime(date.getTime() + 30*86400*1000); |
63 | 63 | document.cookie = cookieName + siteNoticeID + "; expires="+date.toGMTString() + "; path=/"; |
64 | | - var element = document.getElementById('siteNotice'); |
| 64 | + var element = document.getElementById('mw-dismissable-notice'); |
65 | 65 | element.parentNode.removeChild(element); |
66 | 66 | } |
67 | 67 | document.writeln('<table width="100%" id="mw-dismissable-notice"><tr><td width="80%">'+siteNoticeValue+'</td>'); |