Repository: beam-site
Updated Branches:
  refs/heads/asf-site 07a32b382 -> 93c7c5f11


Add support for "no-toggle" code snippets


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/41904c0d
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/41904c0d
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/41904c0d

Branch: refs/heads/asf-site
Commit: 41904c0de1679ac2f6b64eaeb5792e418c5046bd
Parents: 07a32b3
Author: Kenneth Knowles <k...@google.com>
Authored: Wed May 24 19:20:49 2017 -0700
Committer: Kenneth Knowles <k...@google.com>
Committed: Fri Jun 9 09:42:40 2017 -0700

----------------------------------------------------------------------
 src/js/language-switch.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam-site/blob/41904c0d/src/js/language-switch.js
----------------------------------------------------------------------
diff --git a/src/js/language-switch.js b/src/js/language-switch.js
index 0406b16..a402146 100644
--- a/src/js/language-switch.js
+++ b/src/js/language-switch.js
@@ -5,7 +5,7 @@ $(document).ready(function() {
         var prefix = id + "-";
         return {
             "id": id,
-            "selector": "[class^=" + prefix + "]",
+            "selector": "[class^=" + prefix + "]:not(.no-toggle)",
             "wrapper": prefix + "switcher", // Parent wrapper-class.
             "default": prefix + def, // Default type to display.
             "dbKey": id, // Local Storage Key

Reply via email to