Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix textarea height in firefox

  • Loading branch information...
commit a16117f145794b6a54f5608a861d8c0c2e1fc894 1 parent 5ee6a83
Binux authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 templates/lixian.html
View
6 templates/lixian.html
@@ -129,7 +129,7 @@
});
$("#link-text").text(str);
$("#link-text").show();
- $("#link-text").get(0).style.posHeight=$("#link-text").get(0).scrollHeight;
+ $("#link-text").get(0).style.height=$("#link-text").get(0).scrollHeight+"px"
}
function wget_links() {
@@ -141,7 +141,7 @@
});
$("#link-text").text(str);
$("#link-text").show();
- $("#link-text").get(0).style.posHeight=$("#link-text").get(0).scrollHeight;
+ $("#link-text").get(0).style.height=$("#link-text").get(0).scrollHeight+"px"
}
function multiple_server_fix(url) {
@@ -156,7 +156,7 @@
});
$("#link-text").text(str);
$("#link-text").show();
- $("#link-text").get(0).style.posHeight=$("#link-text").get(0).scrollHeight;
+ $("#link-text").get(0).style.height=$("#link-text").get(0).scrollHeight+"px"
}
var w=480;
Please sign in to comment.
Something went wrong with that request. Please try again.