Browse Source

Fixes #827 issue with overview/definition mode leaving code examples visible

pull/881/head
jlukic 10 years ago
parent
commit
ca57bd552f
1 changed files with 2 additions and 2 deletions
  1. 4
      server/files/javascript/semantic.js

4
server/files/javascript/semantic.js

@ -199,7 +199,7 @@ semantic.ready = function() {
$developer.addClass('disabled').popup('destroy');
$designer.addClass('disabled').popup('destroy');
$example.each(function() {
$(this).children().not('.ui.header:eq(0), .example p:eq(0), .annotation').hide();
$(this).children().not('.ui.header:eq(0), .example p:eq(0)').hide();
});
$example.filter('.another').hide();
}
@ -207,7 +207,7 @@ semantic.ready = function() {
$developer.removeClass('disabled').popup();
$designer.removeClass('disabled').popup();
$example.each(function() {
$(this).children().not('.ui.header:eq(0), .example p:eq(0), .annotation').show();
$(this).children().not('.ui.header:eq(0), .example p:eq(0)').show();
});
$example.filter('.another').show();
}

Loading…
Cancel
Save