(trunk web) #4459 "Remove 'Compact View' from the action menu" -- done.

This commit is contained in:
Jordan Lee
2011-08-30 01:54:34 +00:00
parent 05155db22c
commit 895f8ca465
2 changed files with 0 additions and 15 deletions

View File

@@ -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);