aboutsummaryrefslogtreecommitdiffstats
path: root/js/dashboard-common.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/dashboard-common.js')
-rw-r--r--js/dashboard-common.js16
1 files changed, 4 insertions, 12 deletions
diff --git a/js/dashboard-common.js b/js/dashboard-common.js
index 68ba7d5..9eba87c 100644
--- a/js/dashboard-common.js
+++ b/js/dashboard-common.js
@@ -23,22 +23,14 @@
'use strict';
-/******************************************************************************/
-
-uDom.onLoad(function() {
-
- /******************************************************************************/
-
+uDom.onLoad(function () {
// Open links in the proper window
uDom('a').attr('target', '_blank');
uDom('a[href*="dashboard.html"]').attr('target', '_parent');
- uDom('.whatisthis').on('click', function() {
- uDom(this).parent()
+ uDom('.whatisthis').on('click', function () {
+ uDom(this)
+ .parent()
.descendants('.whatisthis-expandable')
.toggleClass('whatisthis-expanded');
});
-
-
- /******************************************************************************/
-
});