[PATCH 3 of 3] Added script to toggle news feed

Wald Commits scm-commit at wald.intevation.org
Tue Jan 28 12:35:42 CET 2014


# HG changeset patch
# User Ariane Broermann <ariane at intevation.de>
# Date 1390908925 -3600
# Node ID 9e93f08034d8792c2bc1cb4c5eda16adef4e19a3
# Parent  2d286f28acf9069929737fb3970183b55286138b
Added script to toggle news feed.

diff -r 2d286f28acf9 -r 9e93f08034d8 js/dive4elements.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/js/dive4elements.js	Tue Jan 28 12:35:25 2014 +0100
@@ -0,0 +1,5 @@
+$(document).ready(function() {
+  $('[data-toggle=dive4elements]').click(function() {
+    $('.row-dive4elements').toggleClass('active');
+  });
+});


More information about the Dive4elements-commits mailing list