Forum:Missing buttons on the edit box

For some reason the clickable buttons (such as bold text, signature etc) are missing from the edit box on PotBS wiki.

I thought it might be caused by custom css or js, but I can't find anything on pages I edited (Wikia.css, Wikia.js, Common.js). This has been happening for a long time.

Any idea what's wrong? -- 20:04, July 10, 2011 (UTC)


 * I tried removing bits of code, and the buttons reappear as soon as I remove the timer javascript on Wikia.js.


 * Perhaps I did something wrong when I put it together? -- 21:56, July 11, 2011 (UTC)


 * Yeah, I went over and don't see many buttons. But I looked at both Common.js and Wikia.js and didn't see anything wrong. I don't know if the the new editor activated in Special:WikiaLabs would help but it's worth a try.

Try using this version of the countdown script instead: function startTime { var timerElem = $('#CountdownTimer');

if (timerElem.length > 0) { var today=new Date; var h=today.getUTCHours; var m=today.getUTCMinutes; var s=today.getUTCSeconds; var s1=(s!=00)?60-s:s; var m1=(m!=00)?60-m:m; var h1=(24 - (h-10)) % 24; // <--12 is used as a time zone offset // add a zero in front of numbers<10 m1=checkTime(m1); s1=checkTime(s1); timerElem.text(h1 + ":" + m1 + ":" + s1); t=setTimeout('startTime', 1000); } } function checkTime(i) { if (i<10) { i="0" + i;  } return i; } addOnloadHook(startTime); The current version throws an error if there's no element called "CountdownTimer" on the page, which may very well cause other JS to malfunction. On a side note, I've raised the update interval to 1000ms - since you're not displaying milliseconds, updating once a second should be sufficient. -- Porter21 (talk) 23:04, July 11, 2011 (UTC)
 * Wow, it's working :D Thanks a lot! -- 23:19, July 11, 2011 (UTC)