mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Code refactoring
This commit is contained in:
parent
60bac7192f
commit
90d95d3ca4
28 changed files with 977 additions and 924 deletions
|
|
@ -1117,29 +1117,7 @@
|
|||
oText = $(oMessage.body).clone();
|
||||
if (oText)
|
||||
{
|
||||
oText.find('blockquote.rl-bq-switcher').removeClass('rl-bq-switcher hidden-bq');
|
||||
oText.find('.rlBlockquoteSwitcher').off('.rlBlockquoteSwitcher').remove();
|
||||
oText.find('[data-html-editor-font-wrapper]').removeAttr('data-html-editor-font-wrapper');
|
||||
|
||||
// (function () {
|
||||
//
|
||||
// var oTmp = null, iLimit = 0;
|
||||
//
|
||||
// while (true)
|
||||
// {
|
||||
// iLimit++;
|
||||
//
|
||||
// oTmp = oText.children();
|
||||
// if (10 > iLimit && oTmp.is('div') && 1 === oTmp.length)
|
||||
// {
|
||||
// oTmp.children().unwrap();
|
||||
// continue;
|
||||
// }
|
||||
//
|
||||
// break;
|
||||
// }
|
||||
//
|
||||
// }());
|
||||
Utils.clearBqSwitcher(oText);
|
||||
|
||||
sText = oText.html();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue