Skip to content

Commit 381fc5e

Browse files
committed
Prevent defaultURL text from being enabled on initialization
Also, move to end, so that input elements are enabled only after the initialization process is done.
1 parent 24f2daf commit 381fc5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extension/options/js/options.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ function setInitialState() {
9999
document.getElementById('answer_type').options.selectedIndex = items.answerTypeFilter;
100100
document.getElementById('custom_filter').value = items.customFilter;
101101

102-
$(":input").attr('disabled', false);
103-
104102
$("#add_suggestion_filter").click(function() {
105103
addFilterSuggestionDiv(true);
106104
setTimeout(function() {
@@ -156,6 +154,7 @@ function setInitialState() {
156154
});
157155
});
158156

157+
$(":input").not("#default_url").attr('disabled', false);
159158
});
160159
}
161160

0 commit comments

Comments
 (0)