aboutsummaryrefslogtreecommitdiffstats
path: root/ui/labels.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/labels.js')
-rw-r--r--ui/labels.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/labels.js b/ui/labels.js
index 4f6533451..5ff44c28b 100644
--- a/ui/labels.js
+++ b/ui/labels.js
@@ -55,7 +55,7 @@ return $.fn.labels = function() {
ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
// Create a selector for the label based on the id
- selector = "label[for='" + $.escapeSelector( id ) + "']";
+ selector = "label[for='" + CSS.escape( id ) + "']";
labels = labels.add( ancestors.find( selector ).addBack( selector ) );