fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
817bf41
)
Widget small UI fix.
author
Lukasz Anwajler
<lukasz@anwajler.com>
Wed, 1 Sep 2010 09:48:04 +0000
(
04:48
-0500)
committer
Lukasz Anwajler
<lukasz@anwajler.com>
Wed, 1 Sep 2010 09:48:04 +0000
(
04:48
-0500)
wolnelektury/static/js/catalogue.js
patch
|
blob
|
history
diff --git
a/wolnelektury/static/js/catalogue.js
b/wolnelektury/static/js/catalogue.js
index
1d90e10
..
4b09de8
100644
(file)
--- a/
wolnelektury/static/js/catalogue.js
+++ b/
wolnelektury/static/js/catalogue.js
@@
-464,11
+464,19
@@
function serverTime() {
$('.widget-code').focus(
function(){
$('.widget-code').focus(
function(){
- $(this).animate({rows: '11'}, 100)
+ $(this).animate({rows: '11'}, 100, function(){
+ this.select();
+ $(this).click(function(){
+ this.select();
+ });
+ })
+
}
).blur(
function(){
}
).blur(
function(){
- $(this).animate({rows: '1'}, 300)
+ $(this).animate({rows: '1'}, 300, function(){
+ $(this).unbind('click');
+ })
}
);
}
);