               (update-wish-rem parent))))))))
 
 ; URL is simpler, we just check whether or not it is changed, and update.
-(delegate $content ".url" :change
+(on $content :change ".url" nil
   (fn [e]
     (this-as me
       (let [$parent (.parent ($ me))]


; DELEGATES

(delegate $body "#create-wishlist" :click
  (fn [e]
    (create-wishlist-rem)))

; When wishlist title is changed and not empty, update the title on remote.
(delegate $header wishlist-title :change
  (fn [e]
    (this-as me
      (when-not (empty? (val ($ me)))

          (update-wish-rem $parent))))))

; Only delete if the wish is not "last".
(on $content :click ".delete" nil
  (fn [e]
    (this-as me
      (let [$parent (.parent ($ me))]
