summaryrefslogtreecommitdiffstats
path: root/js/public/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/public/app.js')
-rw-r--r--js/public/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/public/app.js b/js/public/app.js
index c567e8fee..9c340462f 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -720,8 +720,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
var folder;
folder = this._folderModel.getById(folderId);
if (angular.isDefined(folder)) {
- folder.open = !folder.open;
- if (folder.open) {
+ folder.opened = !folder.opened;
+ if (folder.opened) {
return this._persistence.openFolder(folder.id);
} else {
return this._persistence.collapseFolder(folder.id);