Skip to content

Commit

Permalink
namespace jquery binds
Browse files Browse the repository at this point in the history
  • Loading branch information
dgreensp committed Apr 26, 2012
1 parent 69efcbb commit 4583a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/liveui/liveui.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ Meteor.ui = Meteor.ui || {};
var event = parts.shift();
var selector = parts.join(' ');
var callback = events[spec];
$.event.add(elt, event, function(evt) {
$.event.add(elt, event+".liveui", function(evt) {
if (selector) {
// target must match selector
var target = evt.target;
Expand Down Expand Up @@ -403,7 +403,7 @@ Meteor.ui = Meteor.ui || {};
}

var copyFunc = function(t, s) {
$(t).unbind(); // XXX jQuery dependency
$(t).unbind(".liveui"); // XXX jQuery dependency
tgtRange.transplant_tag(t, s);
};

Expand Down

0 comments on commit 4583a9e

Please sign in to comment.