summaryrefslogtreecommitdiff
path: root/src/static/js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-01-26 02:39:43 +0000
committerJohn McLear <john@mclear.co.uk>2015-01-26 02:39:43 +0000
commitc4f1189ebdc92f0da286c3939995f1564d5497dd (patch)
tree63363effed9d927dd92a910eedbece7af613f446 /src/static/js
parent18121a15071f775d6605719088ea147bb4cd1d14 (diff)
downloadetherpad-lite-c4f1189ebdc92f0da286c3939995f1564d5497dd.zip
even cleaner
Diffstat (limited to 'src/static/js')
-rw-r--r--src/static/js/contentcollector.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js
index c0964c4a..2c8eefbf 100644
--- a/src/static/js/contentcollector.js
+++ b/src/static/js/contentcollector.js
@@ -459,7 +459,6 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
{
var tname = (dom.nodeTagName(node) || "").toLowerCase();
- // Images shouldn't be defined as empty.
if (tname == "img"){
var context = hooks.callAll('collectContentImage', {
cc: cc,
@@ -470,8 +469,7 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
node: node
});
}
-
- if (tname == "br")
+ else if (tname == "br")
{
this.breakLine = true;
var tvalue = dom.nodeAttr(node, 'value');