Diff
Not logged in

Differences From Artifact [17661bbc8b]:

To Artifact [d165cbaf37]:


778
779
780
781
782
783
784
785
786

787
788
789
790
791
792
793



794
795
796
797
798
799
800
778
779
780
781
782
783
784


785
786
787
788
789
790
791

792
793
794
795
796
797
798
799
800
801







-
-
+






-
+
+
+







        this.deleteMessageElem(id);
      }
    };
    document.addEventListener('visibilitychange', function(ev){
      cs.pageIsActive = ('visible' === document.visibilityState);
      if(cs.pageIsActive){
        cs.e.pageTitle.innerText = cs.pageTitleOrig;
        console.debug("Taking back input focus.");
        cs.inputFocus(
        if(document.activeElement!==cs.inputElement()){
          /* An attempt to resolve usability problem reported by Joe
             M. where the Pale Moon browser is giving input focus to
             the Preview button. The down-side of this is that it will
             deselect any text which was previously selected on this
             page. This also, unfortunately, places the focus at the
             start of the element, rather than the last cursor position
             (like a textarea would). */);
             (like a textarea would). */
          cs.inputFocus();
        }
      }
    }, true);
    cs.setCurrentView(cs.e.viewMessages);

    cs.e.activeUserList.addEventListener('click', function f(ev){
      /* Filter messages on a user clicked in activeUserList */
      ev.stopPropagation();