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

Diff of /contributions/modules/sharethis/sharethis.js

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

revision 1.1.2.1.2.2, Fri Aug 14 03:44:10 2009 UTC revision 1.1.2.1.2.3, Fri Aug 14 07:32:03 2009 UTC
# Line 1  Line 1 
1  // $Id$  // $Id: sharethis.js,v 1.1.2.1.2.2 2009/08/14 03:44:10 robloach Exp $
2    
3  /**  /**
4   * The Drupal behaviors for the ShareThis web service.   * The Drupal behaviors for the ShareThis web service.
# Line 11  Drupal.behaviors.sharethis = function(co Line 11  Drupal.behaviors.sharethis = function(co
11          title: options['title'],          title: options['title'],
12          url: options['url']          url: options['url']
13        });        });
14        shared_object.attachButton(document.getElementById(id), {button: false});        if (options['chicklet'] || false) {
15        $('#'+id).click(function() { return false; });          shared_object.attachChicklet(options['chicklet'], document.getElementById(id));
16          }
17          else {
18            shared_object.attachButton(document.getElementById(id), {button: false});
19          }
20          $('#' + id).click(function() { return false; });
21      });      });
22    }    }
23  };  };

Legend:
Removed from v.1.1.2.1.2.2  
changed lines
  Added in v.1.1.2.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2