mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk web) #4459 "Remove 'Compact View' from the action menu" -- done.
This commit is contained in:
@@ -933,9 +933,6 @@ Transmission.prototype =
|
||||
$('div#stats_container h2.dialog_heading').show();
|
||||
tr.showStatsDialog();
|
||||
}
|
||||
else if ($element[0].id == 'compact_view') {
|
||||
this.toggleCompactClicked();
|
||||
}
|
||||
else if ($element[0].id == 'homepage') {
|
||||
window.open('http://www.transmissionbt.com/');
|
||||
}
|
||||
@@ -2247,16 +2244,6 @@ Transmission.prototype =
|
||||
{
|
||||
var compact = this[Prefs._CompactDisplayState];
|
||||
|
||||
// update the ui: context menu
|
||||
// (disabled in iphone mode...)
|
||||
if (!isMobileDevice) {
|
||||
var e = $('#settings_menu #compact_view');
|
||||
if (compact)
|
||||
e.selectMenuItem();
|
||||
else
|
||||
e.deselectMenuItem();
|
||||
}
|
||||
|
||||
// update the ui: footer button
|
||||
$("#compact-button").toggleClass('enabled',compact);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user