Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing the jquery deprecated @ symbol

  • Loading branch information...
commit 5ac38ccaf20451d6ad87e366482860cd94c82dab 1 parent ac55272
@admc admc authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 extension/content/index.html
View
12 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);
Please sign in to comment.
Something went wrong with that request. Please try again.