]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.js
misc typo fixes
[tt-rss.git] / prefs.js
index dc06ef35b5011d5a085e1ebff5dff009f4f0db92..5a75060d6c256ad0aa68b4c2ebad5a29066dca09 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -250,7 +250,7 @@ function editFilter(id) {
                                                                                onComplete: function(transport) {
                                                                                        dialog.hide();
                                                                                        updateFilterList();
-                                                                       }})
+                                                                       }});
                                                                }
                                                        }
                                        }});
@@ -701,7 +701,7 @@ function editSelectedFeeds() {
                                        title: __("Edit Multiple Feeds"),
                                        style: "width: 600px",
                                        getChildByName: function (name) {
-                                               var rv = null
+                                               var rv = null;
                                                this.getChildren().each(
                                                        function(child) {
                                                                if (child.name == name) {
@@ -773,7 +773,7 @@ function editSelectedFeeds() {
                                                                onComplete: function(transport) {
                                                                        dialog.hide();
                                                                        updateFeedList();
-                                                       }})
+                                                       }});
                                                }
                                        },
                                        content: transport.responseText});
@@ -985,7 +985,7 @@ function pref_hotkey_handler(e) {
        try {
                if (e.target.nodeName == "INPUT") return;
 
-               var keycode;
+               var keycode = false;
                var shift_key = false;
 
                var cmdline = $('cmdline');
@@ -1724,7 +1724,6 @@ function editLabel(id, event) {
                        },
                        execute: function() {
                                if (this.validate()) {
-                                       var caption = this.attr('value').id;
                                        var caption = this.attr('value').caption;
                                        var fg_color = this.attr('value').fg_color;
                                        var bg_color = this.attr('value').bg_color;