Merge pull request #1618 from ether/tidy-up

Tidy up
pull/1622/merge
John McLear 2013-03-14 14:32:13 -07:00
commit cf041dcb08
2 changed files with 3 additions and 11 deletions

View File

@ -5125,7 +5125,7 @@ function Ace2Inner(){
function initLineNumbers() function initLineNumbers()
{ {
lineNumbersShown = 1; lineNumbersShown = 1;
sideDiv.innerHTML = '<table border="0" cellpadding="0" cellspacing="0" align="right">' + '<tr><td id="sidedivinner"><div>1</div></td></tr></table>'; sideDiv.innerHTML = '<table border="0" cellpadding="0" cellspacing="0" align="right"><tr><td id="sidedivinner"><div>1</div></td></tr></table>';
sideDivInner = outerWin.document.getElementById("sidedivinner"); sideDivInner = outerWin.document.getElementById("sidedivinner");
} }

View File

@ -470,14 +470,6 @@ var pad = {
userAgent: pad.getDisplayUserAgent() userAgent: pad.getDisplayUserAgent()
}; };
if (clientVars.specialKey)
{
pad.myUserInfo.specialKey = clientVars.specialKey;
if (clientVars.specialKeyTranslation)
{
$("#specialkeyarea").html("mode: " + String(clientVars.specialKeyTranslation).toUpperCase());
}
}
padimpexp.init(this); padimpexp.init(this);
padsavedrevs.init(this); padsavedrevs.init(this);
@ -663,8 +655,8 @@ var pad = {
{ {
alertBar.displayMessage(function(abar) alertBar.displayMessage(function(abar)
{ {
abar.find("#servermsgdate").html(" (" + padutils.simpleDateTime(new Date) + ")"); abar.find("#servermsgdate").text(" (" + padutils.simpleDateTime(new Date) + ")");
abar.find("#servermsgtext").html(m.text); abar.find("#servermsgtext").text(m.text);
}); });
} }
if (m.js) if (m.js)