From 0b7f9ef7dd059e550240237f171a1431eacf29b5 Mon Sep 17 00:00:00 2001 From: shadlaws Date: Sat, 23 Feb 2013 18:57:54 +0100 Subject: #2012 - Clean up gallery.in_place_edit.js. - removed extend similar to previous jQuery updates (doesn't work the same with jQuery 1.4+) --- lib/gallery.in_place_edit.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/gallery.in_place_edit.js') diff --git a/lib/gallery.in_place_edit.js b/lib/gallery.in_place_edit.js index 5a815dac..48c86739 100644 --- a/lib/gallery.in_place_edit.js +++ b/lib/gallery.in_place_edit.js @@ -1,5 +1,7 @@ (function($) { $.widget("ui.gallery_in_place_edit", { + options: {}, + _init: function() { var self = this; this.element.click(function(event) { @@ -68,8 +70,4 @@ }); } }); - - $.extend($.ui.gallery_in_place_edit, { - defaults: {} - }); })(jQuery); -- cgit v1.2.3