Skip to content

Commit

Permalink
fix cs last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoh committed Feb 25, 2018
1 parent 0cc6ffc commit 24c5b00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sauserprefs.js
Expand Up @@ -363,8 +363,10 @@ $(document).ready(function() {
if (rcmail.env.action == 'plugin.sauserprefs') {
rcmail.section_select = function(list) {
var win, id = list.get_single_selection();
if (id && (win = this.get_frame_window(this.env.contentframe)))
this.location_href({_action: 'plugin.sauserprefs.edit', _section: id, _framed: 1}, win, true);

if (id && (win = this.get_frame_window(this.env.contentframe))) {
this.location_href({_action: 'plugin.sauserprefs.edit', _section: id, _framed: 1}, win, true);
}
}
}
}
Expand Down

0 comments on commit 24c5b00

Please sign in to comment.