Small coding style fixes
This commit is contained in:
parent
9b38c5b304
commit
668920cec4
@ -110,7 +110,7 @@ ModalDialog.prototype = {
|
|||||||
this._buttonLayout.destroy_children();
|
this._buttonLayout.destroy_children();
|
||||||
this._actionKeys = {};
|
this._actionKeys = {};
|
||||||
|
|
||||||
for (let i = 0; i < buttons.length; i ++) {
|
for (let i = 0; i < buttons.length; i++) {
|
||||||
let buttonInfo = buttons[i];
|
let buttonInfo = buttons[i];
|
||||||
let label = buttonInfo['label'];
|
let label = buttonInfo['label'];
|
||||||
let action = buttonInfo['action'];
|
let action = buttonInfo['action'];
|
||||||
|
@ -900,7 +900,7 @@ ChatNotification.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let groups = this._contentArea.get_children();
|
let groups = this._contentArea.get_children();
|
||||||
for (let i = 0; i < groups.length; i ++) {
|
for (let i = 0; i < groups.length; i++) {
|
||||||
let group = groups[i];
|
let group = groups[i];
|
||||||
if (group.get_children().length == 0)
|
if (group.get_children().length == 0)
|
||||||
group.destroy();
|
group.destroy();
|
||||||
@ -938,7 +938,7 @@ ChatNotification.prototype = {
|
|||||||
let body = highlighter.actor;
|
let body = highlighter.actor;
|
||||||
|
|
||||||
let styles = props.styles;
|
let styles = props.styles;
|
||||||
for (let i = 0; i < styles.length; i ++)
|
for (let i = 0; i < styles.length; i++)
|
||||||
body.add_style_class_name(styles[i]);
|
body.add_style_class_name(styles[i]);
|
||||||
|
|
||||||
let group = props.group;
|
let group = props.group;
|
||||||
|
Loading…
Reference in New Issue
Block a user