Changeset 8784
- Timestamp:
- Jul 6, 2009, 11:51:02 PM (13 years ago)
- Location:
- trunk/web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/javascript/torrent.js
r8760 r8784 753 753 this._dirty = true; 754 754 this._wanted = wanted; 755 this.element().toggleClass( 'skip', !wanted ); 755 if(!iPhone) 756 this.element().toggleClass( 'skip', !wanted ); 756 757 var command = wanted ? 'files-wanted' : 'files-unwanted'; 757 758 this._torrent._controller.changeFileCommand(command, this._torrent, this); … … 813 814 814 815 var prio; 815 if( x < 12 ) prio = -1; 816 else if( x < 23 ) prio = 0; 817 else prio = 1; 816 if(iPhone) 817 { 818 if( x < 8 ) prio = -1; 819 else if( x < 27 ) prio = 0; 820 else prio = 1; 821 } 822 else 823 { 824 if( x < 12 ) prio = -1; 825 else if( x < 23 ) prio = 0; 826 else prio = 1; 827 } 818 828 this.setPriority( prio ); 819 829 } -
trunk/web/stylesheets/iphone.css
r8731 r8784 723 723 } 724 724 div.file_priority_control.normal { 725 background-position: left top;726 }727 div.file_priority_control.normal:hover {728 725 background-position: right top; 729 726 } 730 727 div.file_priority_control.high { 731 background-position: left -19px;732 }733 div.file_priority_control.high:hover {734 728 background-position: right -19px; 735 729 } 736 730 div.file_priority_control.low { 737 background-position: left -38px;738 }739 div.file_priority_control.low:hover {740 731 background-position: right -38px; 741 732 }
Note: See TracChangeset
for help on using the changeset viewer.