Permalink
Browse files

Added quotes to jQuery attribute selectors

  • Loading branch information...
jaysalvat committed Feb 23, 2011
1 parent c99817b commit 157249d6a73820367cc205046cfd871f00de8b3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 markitup/jquery.markitup.js
@@ -506,7 +506,7 @@
if (e.type === 'keydown') {
if (ctrlKey === true) {
- li = $("a[accesskey="+String.fromCharCode(e.keyCode)+"]", header).parent('li');
+ li = $('a[accesskey="'+String.fromCharCode(e.keyCode)+'"]', header).parent('li');
if (li.length !== 0) {
ctrlKey = false;
setTimeout(function() {

0 comments on commit 157249d

Please sign in to comment.