fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
widget fix
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
catalogue.js
diff --git
a/wolnelektury/static/js/catalogue.js
b/wolnelektury/static/js/catalogue.js
index
3057e15
..
1d90e10
100644
(file)
--- a/
wolnelektury/static/js/catalogue.js
+++ b/
wolnelektury/static/js/catalogue.js
@@
-451,6
+451,7
@@
function serverTime() {
$(this).trigger('stop');
}).mouseout(function () {
$(this).trigger('start');
$(this).trigger('stop');
}).mouseout(function () {
$(this).trigger('start');
+ $(this).data('drag', false);
}).mousemove(function (event) {
if ($(this).data('drag') == true) {
this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
}).mousemove(function (event) {
if ($(this).data('drag') == true) {
this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
@@
-461,5
+462,15
@@
function serverTime() {
$(this).data('drag', false);
});
$(this).data('drag', false);
});
+ $('.widget-code').focus(
+ function(){
+ $(this).animate({rows: '11'}, 100)
+ }
+ ).blur(
+ function(){
+ $(this).animate({rows: '1'}, 300)
+ }
+ );
+
});
})(jQuery)
});
})(jQuery)