mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 07:37:11 -04:00
fixed typos...
This commit is contained in:
parent
9f70e729e0
commit
1d8dd16a21
1 changed files with 2 additions and 3 deletions
|
@ -158,10 +158,9 @@ var padeditbar = (function()
|
|||
{
|
||||
var value = document.getElementById("style-select").value;
|
||||
var style = /([a-z]+)-([12345678])/.exec(value);
|
||||
if(style[0]=="title")
|
||||
if(style[1]=="title")
|
||||
{
|
||||
alert(style[1]);
|
||||
ace.ace_doInsertTitle(Number(style[1]));
|
||||
ace.ace_doInsertTitle(Number(style[2]));
|
||||
}
|
||||
}
|
||||
else if (cmd == 'clearauthorship')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue