mirror of https://github.com/xwiki-labs/cryptpad
lint compliance
This commit is contained in:
parent
df1a700cb2
commit
d644054e3f
|
@ -278,7 +278,7 @@ define([
|
|||
// recreate a _mostly_ equivalent DOM
|
||||
var dom = Flat.toDOM(flat);
|
||||
// assume we don't care about comments
|
||||
var bodyText = document.body.outerHTML.replace(/<!\-\-[\s\S]*?\-\->/g, '')
|
||||
var bodyText = document.body.outerHTML.replace(/<!\-\-[\s\S]*?\-\->/g, '');
|
||||
// check for equality
|
||||
cb(dom.outerHTML === bodyText);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue