chore: run pre-commit
This commit is contained in:
parent
2d9c23cf70
commit
4cd50a694b
2 changed files with 7 additions and 4 deletions
|
|
@ -315,7 +315,6 @@ function fmt_money(v, format) {
|
|||
return format_currency(v, format);
|
||||
}
|
||||
|
||||
|
||||
Object.assign(window, {
|
||||
flt,
|
||||
cint,
|
||||
|
|
|
|||
|
|
@ -285,11 +285,15 @@ Object.assign(frappe.utils, {
|
|||
if (!txt) return txt;
|
||||
|
||||
var content = $("<div></div>").html(txt);
|
||||
content.find("blockquote").parent("blockquote").addClass("hidden").before(
|
||||
'<p><a class="text-muted btn btn-default toggle-blockquote" style="padding: 2px 7px 0px; line-height: 1;"> \
|
||||
content
|
||||
.find("blockquote")
|
||||
.parent("blockquote")
|
||||
.addClass("hidden")
|
||||
.before(
|
||||
'<p><a class="text-muted btn btn-default toggle-blockquote" style="padding: 2px 7px 0px; line-height: 1;"> \
|
||||
• • • \
|
||||
</a></p>'
|
||||
);
|
||||
);
|
||||
return content.html();
|
||||
},
|
||||
scroll_page_to_top() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue