Permalink
Browse files

Fixing the jquery deprecated @ symbol

  • Loading branch information...
1 parent ac55272 commit 5ac38ccaf20451d6ad87e366482860cd94c82dab @admc admc committed Feb 3, 2009
Showing with 6 additions and 6 deletions.
  1. +6 −6 extension/content/index.html
@@ -14,9 +14,9 @@
function save () {
var prefValues = {
- "deliciousEnabled" : $('input[@name=deliciousEnabled]')[0].checked,
- "deliciousUsername" : $('input[@name=deliciousUsername]')[0].value,
- "deliciousPassword" : $('input[@name=deliciousPassword]')[0].value,
+ "deliciousEnabled" : $('input[name=deliciousEnabled]')[0].checked,
+ "deliciousUsername" : $('input[name=deliciousUsername]')[0].value,
+ "deliciousPassword" : $('input[name=deliciousPassword]')[0].value,
};
prefs.setBoolPref('delicious.enabled', prefValues.deliciousEnabled);
@@ -28,9 +28,9 @@
}
function initialize () {
- $('input[@name=deliciousEnabled]')[0].checked = prefs.getBoolPref('delicious.enabled');
- $('input[@name=deliciousUsername]')[0].value = prefs.getCharPref('delicious.username');
- $('input[@name=deliciousPassword]')[0].value = prefs.getCharPref('delicious.password');
+ $('input[name=deliciousEnabled]')[0].checked = prefs.getBoolPref('delicious.enabled');
+ $('input[name=deliciousUsername]')[0].value = prefs.getCharPref('delicious.username');
+ $('input[name=deliciousPassword]')[0].value = prefs.getCharPref('delicious.password');
}
$(document).ready(initialize);

0 comments on commit 5ac38cc

Please sign in to comment.