mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
useless var statement (function scope)
This commit is contained in:
parent
51769585a9
commit
f968b5a057
1 changed files with 6 additions and 5 deletions
|
@ -342,7 +342,8 @@ function getHTMLFromAtext(pad, atext, authorColors)
|
||||||
assem.append(_encodeWhitespace(Security.escapeHTML(s)));
|
assem.append(_encodeWhitespace(Security.escapeHTML(s)));
|
||||||
} // end iteration over spans in line
|
} // end iteration over spans in line
|
||||||
|
|
||||||
var tags2close = [];
|
// close all the tags that are open after the last op
|
||||||
|
tags2close = [];
|
||||||
for (var i = propVals.length - 1; i >= 0; i--)
|
for (var i = propVals.length - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
if (propVals[i])
|
if (propVals[i])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue