From 637134651ad0a6232595a906ca77ecad1e56c598 Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Tue, 20 May 2008 14:48:38 -0500 Subject: [PATCH] Fix IE's missing negated attribute operator in the selector class. --- src/selector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/selector.js b/src/selector.js index 16787b7..9a8ff3f 100644 --- a/src/selector.js +++ b/src/selector.js @@ -655,6 +655,7 @@ Object.extend(Selector, { operators: { '=': function(nv, v) { return nv == v; }, + '!=': function(nv, v) { return nv != v; }, '^=': function(nv, v) { return nv == v || nv && nv.startsWith(v); }, '$=': function(nv, v) { return nv == v || nv && nv.endsWith(v); }, '*=': function(nv, v) { return nv == v || nv && nv.include(v); },