From 094f9887f429559f0338412fc6a85f8d126351e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Pi=C4=85tek?= Date: Wed, 9 Mar 2016 16:39:33 +0100 Subject: [PATCH] Prevent calling destroy when widget wasn't registered before --- src/jquery-ui.onobtrusive.min.js | 2 +- src/jquery-ui.unobtrusive.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jquery-ui.onobtrusive.min.js b/src/jquery-ui.onobtrusive.min.js index df3f145..614877d 100644 --- a/src/jquery-ui.onobtrusive.min.js +++ b/src/jquery-ui.onobtrusive.min.js @@ -8,4 +8,4 @@ * Modified by Andrew Cohen, 11/30/2011 * TempWorks Software, Inc. */ -(function(n){"use strict";function r(t){var u=t.match(/function\s*\((.*?)\).*?\{(.*)\}$/),r,f,i;if(u){for(r=u[1].split(","),f="",i=0;i