Permalink
Browse files

changed a function name…

  • Loading branch information...
1 parent 1bee759 commit c1a26e989a005c7e273fae7ad83abd345721691e @greendesigned committed May 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 themes/third_party/copee_pastee_assets/js/copee_pastee_functions.js
@@ -1,5 +1,5 @@
var copee_pastee = {
- sort: function() {
+ setlabel: function() {
$(".matrix table").each(function(){
if($(this).is('.matrix table', this)){
var newLabel = $('.clipboard span', this).text();
@@ -11,8 +11,8 @@ var copee_pastee = {
}
};
-Matrix.bind('copee_pastee', 'display', function() { copee_pastee.sort(); });
-Matrix.bind('copee_pastee', 'afterSort', function() { copee_pastee.sort(); });
+Matrix.bind('copee_pastee', 'display', function() { copee_pastee.setlabel(); });
+Matrix.bind('copee_pastee', 'afterSort', function() { copee_pastee.setlabel(); });
// Copy text to clipboard
$(".matrix table .clipboard").live('click', function(event) {

0 comments on commit c1a26e9

Please sign in to comment.