summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-06-09 15:19:19 -0400
committerRobin Millette <millette@controlyourself.ca>2009-06-09 15:19:19 -0400
commit207750e75774c823328889cb4102aad6a0b12281 (patch)
tree51335c05e93194217c90a46b21e5477bba47c378 /js/util.js
parent27af3c67a2a9ea856aa2de041a986d452cce3025 (diff)
parent388677a6a684754a7dbde13551ab1bffff4d1164 (diff)
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/js/util.js b/js/util.js
index bffbf916f..b712ba8e2 100644
--- a/js/util.js
+++ b/js/util.js
@@ -17,17 +17,6 @@
*/
$(document).ready(function(){
- $('input#notice_data-attach').toggle();
- $('label[for=notice_data-attach]').text('Upload a file as an attachment?');
- $('label[for=notice_data-attach]').click(function () {
- if ('Upload a file as an attachment?' == $(this).text()) {
- $(this).text('Upload: ');
- $('input#notice_data-attach').slideDown('fast');
- } else {
- $('input#notice_data-attach').slideUp('fast', function() {$('label[for=notice_data-attach]').text('Upload a file as an attachment?');});
- }
- });
-
// count character on keyup
function counter(event){
var maxLength = 140;