/[drupal]/contributions/modules/office_hours/office_hours.js
ViewVC logotype

Diff of /contributions/modules/office_hours/office_hours.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Sun Nov 8 17:36:17 2009 UTC revision 1.1.2.1, Sun Nov 8 17:36:17 2009 UTC
# Line 0  Line 1 
1    Drupal.behaviors.officeHours = function (context) {
2      $(".oh-hide").parent().hide();
3      $(".oh-add-more-link").each(function (i) {
4       $(this).parent().children("div.office-hours-block").hide();
5        })
6        .click(function () {
7        $(this).hide();
8        $(this).parent().children("div.office-hours-block").fadeIn("slow");
9        return false;
10      });
11    };

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.2