Author: jablko
Date: Wed Oct 20 18:00:43 2010
New Revision: 8344
Log:
Use one selector
Modified:
trunk/js/multiInput.js
Modified: trunk/js/multiInput.js
==============================================================================
--- trunk/js/multiInput.js Wed Oct 20 18:00:00 2010 (r8343)
+++ trunk/js/multiInput.js Wed Oct 20 18:00:43 2010 (r8344)
@@ -5,7 +5,7 @@
Drupal.behaviors.multiInput = {
attach: function (context)
{
- $('ul.multiInput', context).children('li').click(function (event)
+ $('ul.multiInput > li', context).click(function (event)
{
if (this === event.target)
{
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.