From 018c19a12aff863106f86397f3a7c229b025f506 Mon Sep 17 00:00:00 2001 From: Douglas Neiner Date: Sun, 29 Jan 2012 08:51:51 -0600 Subject: [PATCH] Updated context find (`.$`) to use new cached, wrapped `this.$el`. --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index bf4e4a75..9779f72e 100644 --- a/backbone.js +++ b/backbone.js @@ -996,7 +996,7 @@ // jQuery delegate for element lookup, scoped to DOM elements within the // current view. This should be prefered to global lookups where possible. $: function(selector) { - return $(this.el).find(selector); + return this.$el.find(selector); }, // Initialize is an empty function by default. Override it with your own