From 9ce03bc30dd2e1a4132e35f9a9f67c9c9d559c84 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 17 Sep 2013 23:44:35 -0400 Subject: [PATCH] Fixes definitions appearing improperly on some pages --- node/src/documents/elements/header.html | 2 +- node/src/files/javascript/semantic.js | 11 +++++++---- node/src/files/release/semantic.zip | Bin 1235365 -> 1235365 bytes 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/node/src/documents/elements/header.html b/node/src/documents/elements/header.html index d2d16b257..8972425b4 100755 --- a/node/src/documents/elements/header.html +++ b/node/src/documents/elements/header.html @@ -56,7 +56,7 @@ type : 'UI Element'

A header can be formatted to emphasize an icon

Questions -
Have any questions? Contact Us +
Have any questions? Contact Us
diff --git a/node/src/files/javascript/semantic.js b/node/src/files/javascript/semantic.js index bb2544364..c5c179253 100755 --- a/node/src/files/javascript/semantic.js +++ b/node/src/files/javascript/semantic.js @@ -184,21 +184,24 @@ semantic.ready = function() { var $button = $(this), $body = $('body'), - $example = $('.example'), - $headers = $('.example .ui.header:first-of-type').add('.example p:first-of-type') + $example = $('.example') ; $body.toggleClass('overview'); $button.toggleClass('active'); if($body.hasClass('overview')) { $developer.addClass('disabled').popup('destroy'); $designer.addClass('disabled').popup('destroy'); - $example.children().not($headers).hide(); + $example.each(function() { + $(this).children().not('.ui.header:eq(0), .example p:eq(0), .annotation').hide(); + }); $example.filter('.another').hide(); } else { $developer.removeClass('disabled').popup(); $designer.removeClass('disabled').popup(); - $example.children().not($headers).show(); + $example.each(function() { + $(this).children().not('.ui.header:eq(0), .example p:eq(0), .annotation').show(); + }); $example.filter('.another').show(); } }, diff --git a/node/src/files/release/semantic.zip b/node/src/files/release/semantic.zip index f2e2560dd49059a5e1122a8a4d677ad9700a7233..5d30041b17dbc753ba683788263efd0c2e698740 100644 GIT binary patch delta 6186 zcmZ8jd0f=h7SEX<^ZO0V3^P}4dV&lD1Zpn1RJMRiW|oQNTB)IyEox$=)q9p@YJC(G z6}cc7C~69_Ip`H)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