Changeset 3691
- Timestamp:
- 07/03/07 02:55:57 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.js
r3690 r3691 51 51 Colloquy.currentWidth = window.innerWidth; 52 52 53 var scrolledNearBottom = ChatController.activePanel && ChatController.activePanel.scrolledNearBottom(); 54 53 55 var orient = Colloquy.currentWidth == 320 ? "profile" : "landscape"; 54 56 document.body.setAttribute("orient", orient); 57 58 if (ChatController.activePanel && scrolledNearBottom) 59 ChatController.activePanel.scrollToBottom(); 55 60 56 61 // pan to the bottom, hides the location bar
