mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 11:22:41 +01:00
clean
This commit is contained in:
parent
99e58e843b
commit
2ebfb335d4
1 changed files with 1 additions and 3 deletions
|
@ -166,9 +166,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
|
|||
function _isEmpty(node, state)
|
||||
{
|
||||
// consider clean blank lines pasted in IE to be empty
|
||||
if (dom.nodeNumChildren(node) == 0){
|
||||
return true;
|
||||
}
|
||||
if (dom.nodeNumChildren(node) == 0) return true;
|
||||
if (dom.nodeNumChildren(node) == 1 && getAssoc(node, "shouldBeEmpty") && dom.optNodeInnerHTML(node) == " " && !getAssoc(node, "unpasted"))
|
||||
{
|
||||
if (state)
|
||||
|
|
Loading…
Reference in a new issue