/venus

To download this project, use:
bzr branch http://golem.ph.utexas.edu/~distler/code/venus/

« back to all changes in this revision

Viewing changes to themes/asf/personalize.js

  • Committer: Sam Ruby
  • Date: 2008-09-14 02:53:14 UTC
  • Revision ID: rubys@intertwingly.net-20080914025314-npd2kf8fl0ofwafy
leave h1

Show diffs side-by-side

added added

removed removed

241
241
  if (sidebar.currentStyle && sidebar.currentStyle['float'] == 'none') return;
242
242
  if (window.getComputedStyle && document.defaultView.getComputedStyle(sidebar,null).getPropertyValue('float') == 'none') return;
243
243
 
244
 
  var h1 = sidebar.previousSibling;
245
 
  while (h1.nodeType != 1) h1=h1.previousSibling;
246
 
  if (h1.nodeName.toLowerCase() == 'h1') h1.parentNode.removeChild(h1);
247
 
 
248
244
  var footer = document.getElementById('footer');
249
245
  var ul = footer.lastChild;
250
246
  while (ul.nodeType != 1) ul=ul.previousSibling;