Changeset 8521


Ignore:
Timestamp:
May 25, 2009, 12:41:44 AM (12 years ago)
Author:
kjg
Message:

(trunk web) don't try to show a file list that is already showing. It causes hangs in FF3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent.js

    r8520 r8521  
    193193        uploadSpeed: function() { return this._upload_speed; },
    194194        uploadTotal: function() { return this._upload_total; },
    195         showFileList: function() { this.ensureFileListExists(); this.refreshFileView(); this.fileList().show(); },
     195        showFileList: function() {
     196                if(this.fileList().is(':visible'))
     197                        return;
     198                this.ensureFileListExists();
     199                this.refreshFileView();
     200                this.fileList().show();
     201        },
    196202        hideFileList: function() { this.fileList().hide(); },
    197203       
Note: See TracChangeset for help on using the changeset viewer.