Permalink
Browse files

Merge remote branch 'origin/master'

  • Loading branch information...
2 parents 76c68f7 + 03c2895 commit 59f2c882008dd93c6a87fc30fd41e8dbabd15961 Johanna Hörrmann committed Jul 4, 2011
Showing with 9 additions and 10 deletions.
  1. +9 −10 assets/documenter.admin.js
View
@@ -146,16 +146,6 @@
// Check for existing system messages
notice();
- // Restore documenter state
- if(localStorage && (window.location == window.parent.location)) {
- if(localStorage.getItem('documenter-' + Symphony.Context.get('root')) == 'active') {
- show(0);
- }
- }
- else {
- hide(0);
- }
-
// Prepare content toggling
content.find('h3').each(function() {
var headline = $(this);
@@ -170,6 +160,15 @@
// Hide content blocks
content.find('.block').hide();
+ // Restore documenter state
+ if(localStorage && (window.location == window.parent.location)) {
+ if(localStorage.getItem('documenter-' + Symphony.Context.get('root')) == 'active') {
+ show(0);
+ }
+ }
+ else {
+ hide(0);
+ }
});
})(jQuery.noConflict());

0 comments on commit 59f2c88

Please sign in to comment.