/[jquery]/jquery/jquery-log.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jquery/jquery-log.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 40 by dpavlin, Fri Aug 18 17:13:13 2006 UTC revision 43 by dpavlin, Fri Aug 18 18:01:02 2006 UTC
# Line 34  $.log = { Line 34  $.log = {
34                          '<span class="jql-debug">'+_jql.count.debug+'</span> ' +                          '<span class="jql-debug">'+_jql.count.debug+'</span> ' +
35                          '<span class="jql-error">'+_jql.count.error+'</span>'                          '<span class="jql-error">'+_jql.count.error+'</span>'
36                  );                  );
37    
38                    this.scroll();
39            },
40    
41            scroll: function() {
42                    // poor man's scroll to bottom
43                    var e = document.getElementById('jql-log');
44                    e.scrollTop = e.scrollHeight - e.clientHeight;
45          },          },
46    
47          /* public functions */          /* public functions */
# Line 81  $.log = { Line 89  $.log = {
89                          $('#jql').toggle();                          $('#jql').toggle();
90                          $('#jql-show').toggle();                          $('#jql-show').toggle();
91                  }                  }
92                    this.scroll();
93                  return false;                  return false;
94          },          },
95    

Legend:
Removed from v.40  
changed lines
  Added in v.43

  ViewVC Help
Powered by ViewVC 1.1.26