You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/12/17 18:53:42 UTC
[05/50] [abbrv] incubator-brooklyn-site git commit: remove selectNav;
appears not to be linked anywhere
remove selectNav; appears not to be linked anywhere
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/commit/b81928c6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/tree/b81928c6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/diff/b81928c6
Branch: refs/heads/master
Commit: b81928c686537f481cae0eb2bfce179e7ad3bb31
Parents: 2631128
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Mon Dec 15 11:56:31 2014 +0000
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Mon Dec 15 16:39:24 2014 +0000
----------------------------------------------------------------------
style/js/selectNav.js | 14 --------------
1 file changed, 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/blob/b81928c6/style/js/selectNav.js
----------------------------------------------------------------------
diff --git a/style/js/selectNav.js b/style/js/selectNav.js
deleted file mode 100644
index 2c97d55..0000000
--- a/style/js/selectNav.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Add the 'active' class to the correct navbar item (<li>) according to the
- global 'topLevelNav' variable defined by each page.
- */
-
-$(function() {
- $('#topNav a').each(function(i) {
- var $this = $(this);
- if (topLevelNav == $this.text())
- $this.parent().addClass('active');
- else
- $this.parent().removeClass('active');
- });
-});
-