fixup! Fixed tests

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-02-27 13:25:42 +01:00
parent 6ee9a2b35b
commit 5f217e2d83
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 3 additions and 3 deletions

View File

@ -1304,9 +1304,9 @@ MountConfigListView.prototype = _.extend({
'enable_sharing',
'encoding_compatibility'
];
// if (this._encryptionEnabled) {
// visibleOptions.push('encrypt');
// }
if (this._encryptionEnabled) {
visibleOptions.push('encrypt');
}
dropDown.show($toggle, storage.mountOptions || [], visibleOptions);
$('body').on('mouseup.mountOptionsDropdown', function(event) {
var $target = $(event.target);