From ea1682dfa91c1feddbbb603a5690046d6072aae0 Mon Sep 17 00:00:00 2001 From: baraabourghli Date: Sun, 24 May 2015 11:52:08 +0800 Subject: [PATCH] fix bug in find() & has() new update of sizzlejs --- dependent_select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependent_select.js b/dependent_select.js index 00c61a3..a5ed8b1 100644 --- a/dependent_select.js +++ b/dependent_select.js @@ -27,7 +27,7 @@ jQuery(document).ready(function() { var url_mask = $(this).data('option-url'); var key_method = "id"; //$(this).data('option-key-method'); var value_method = "name"; //$(this).data('option-value-method'); - var prompt = $(this).has('option[value=]').size() ? $(this).find('option[value=]') : $('