Skip to content

Commit

Permalink
JavaScript and Style sheet are improved for iPhone.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanying committed Jun 29, 2009
1 parent ec7a143 commit ccc6f3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/scripts/script_iphone.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function update_read_count(connection_id, msg_id) {

function scroll_if_necessary(connection_id, target) {
if (current.connection_id == connection_id && current.target == target) {
div_parent_activity.scrollTop = div_parent_activity.scrollHeight
document.body.scrollTop = document.body.scrollHeight;
div_activity_info.textContent = "Last activity: " + timestamp_long(connections[connection_id].targets[target].last_activity)
}
}
Expand Down
2 changes: 1 addition & 1 deletion public/styles/style_iphone.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ body {

#activity {
width: 320px;
height: 300px;
/* height: 300px;*/
overflow: auto;
}

Expand Down

0 comments on commit ccc6f3c

Please sign in to comment.