Sha256: 0a85d4a04a46ebf302fd8ccd13598f5ff28376881183186feb85e15933559439

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

jQuery(function($) {
  $('form').bind('submit', function() {
    $('#timezone_offset').attr('value', -(new Date()).getTimezoneOffset() * 60);
  });
  $('*[rel*=facebox]').facebox({
    closeImage: '/image/facebox/closelabel.gif',
    loadingImage: '/image/facebox/loading.gif'
  });
  $('.checkbox a').click(function(e) {
    var check = $('.checkbox input');
    check.attr('checked', !check.attr('checked'));
  });
});

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
winton-sum-0.1.1 public/javascript/sum.js
sum-0.1.2 public/javascript/sum.js
sum-0.1.1 public/javascript/sum.js