Fix not correctly forgetting section-open state

The sidebar is intended to close all sections when the content is wide
and set their default back to closed.

SPR-883
This commit is contained in:
Michael Große 2017-04-20 15:50:53 +02:00
commit b8a4cc913e
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79

View file

@ -21,7 +21,7 @@ jQuery(function () {
for (var index=0; index <= sessionStorage.length; index += 1) {
var item = sessionStorage.getItem('sidebar-section-' + index + '-open');
if (!item) {
break;
continue;
}
sessionStorage.removeItem('sidebar-section-' + index + '-open');
}