Skip to content

Commit

Permalink
Bug #13109: Fix setting inverse value
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 13, 2014
1 parent 340728d commit b07e3ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions imp/js/compose-dimp.js
Expand Up @@ -1267,8 +1267,8 @@ var DimpCompose = {
if (id.startsWith(pair.key + '_')) {
var t = pair.value.get(id.substring(pair.key.length + 1));
if (t) {
// ~~!!! = Integer value of the inverse of t.
$(t).setValue(~~(!!!$F(t)));
// ~~!! = Integer value of the inverse of t.
$(t).setValue(~~(!!$F(t)));
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion imp/js/compose.js
Expand Up @@ -259,7 +259,7 @@ var ImpCompose = {
break;

case 'rte_toggle':
$('rtemode').setValue(~~(!!!ImpComposeBase.editor_on));
$('rtemode').setValue(~~(!!ImpComposeBase.editor_on));
this.uniqSubmit('toggle_editor');
break;

Expand Down

0 comments on commit b07e3ba

Please sign in to comment.