Changeset 3686

Show
Ignore:
Timestamp:
07/02/07 23:02:33 (1 year ago)
Author:
timothy
Message:

Remember the last scroll position.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.js

    r3685 r3686  
    116116                Colloquy.membersElement.style.display = null; 
    117117 
     118                ChatController.activePanel.lastScrollPosition = ChatController.activePanel.panelTranscriptElement.scrollTop; 
    118119                ChatController.activePanel.panelElement.style.display = null; 
    119120                ChatController.activePanel.setKeyboardVisible(false); 
     
    381382        Colloquy.membersElement.style.display = "block"; 
    382383 
     384        this.panelTranscriptElement.scrollTop = this.lastScrollPosition; 
     385 
    383386        Colloquy.colloquyTitleElement.textContent = this.name; 
    384387