mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
much cleaner
This commit is contained in:
parent
8156930208
commit
18121a1507
1 changed files with 2 additions and 3 deletions
|
@ -461,15 +461,14 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
|
||||
// Images shouldn't be defined as empty.
|
||||
if (tname == "img"){
|
||||
isEmpty = false;
|
||||
hooks.callAll('collectContentImage', {
|
||||
var context = hooks.callAll('collectContentImage', {
|
||||
cc: cc,
|
||||
state: state,
|
||||
tname: tname,
|
||||
styl: styl,
|
||||
cls: cls,
|
||||
node: node
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
if (tname == "br")
|
||||
|
|
Loading…
Reference in a new issue