setWanted: function(wanted) {
this._dirty = true;
this._wanted = wanted;
- this.element().toggleClass( 'skip', !wanted );
+ if(!iPhone)
+ this.element().toggleClass( 'skip', !wanted );
var command = wanted ? 'files-wanted' : 'files-unwanted';
this._torrent._controller.changeFileCommand(command, this._torrent, this);
},
}
var prio;
- if( x < 12 ) prio = -1;
- else if( x < 23 ) prio = 0;
- else prio = 1;
+ if(iPhone)
+ {
+ if( x < 8 ) prio = -1;
+ else if( x < 27 ) prio = 0;
+ else prio = 1;
+ }
+ else
+ {
+ if( x < 12 ) prio = -1;
+ else if( x < 23 ) prio = 0;
+ else prio = 1;
+ }
this.setPriority( prio );
}
};
cursor: pointer;
}
div.file_priority_control.normal {
- background-position: left top;
-}
-div.file_priority_control.normal:hover {
background-position: right top;
}
div.file_priority_control.high {
- background-position: left -19px;
-}
-div.file_priority_control.high:hover {
background-position: right -19px;
}
div.file_priority_control.low {
- background-position: left -38px;
-}
-div.file_priority_control.low:hover {
background-position: right -38px;
}
ul.single_file li.inspector_torrent_file_list_entry>.file_priority_control, li.inspector_torrent_file_list_entry.complete div.file_priority_control {