diff options
Diffstat (limited to 'src/form.cc')
-rw-r--r-- | src/form.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc index 18441fb8..9b86fcb7 100644 --- a/src/form.cc +++ b/src/form.cc @@ -249,7 +249,9 @@ static void Html_add_input(DilloHtml *html, DilloHtmlInputType type, html->inputs_outside_form->increase(); html->inputs_outside_form->set(ni, input); - input->setEnabled(false); + if (html->bw->NumPendingStyleSheets > 0) { + input->setEnabled(false); + } } } @@ -609,7 +611,6 @@ void Html_tag_open_isindex(DilloHtml *html, const char *tag, int tagsize) /* * The textarea tag - * (TODO: It doesn't support wrapping). */ void Html_tag_open_textarea(DilloHtml *html, const char *tag, int tagsize) { |