mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
change column width, flip order
This commit is contained in:
parent
ff8e1cc983
commit
abe05dea42
@ -67,19 +67,19 @@ define([
|
||||
// directories have file size of undefined
|
||||
return (function(a, b) {
|
||||
if (a.size === undefined) {
|
||||
return (ascending) ? 1 : -1;
|
||||
}
|
||||
|
||||
if (b.size === undefined) {
|
||||
return (ascending) ? -1 : 1;
|
||||
}
|
||||
|
||||
if (b.size === undefined) {
|
||||
return (ascending) ? 1 : -1;
|
||||
}
|
||||
|
||||
if (a.size > b.size) {
|
||||
return (ascending) ? 1 : -1;
|
||||
return (ascending) ? -1 : 1;
|
||||
}
|
||||
|
||||
if (b.size > a.size) {
|
||||
return (ascending) ? -1 : 1;
|
||||
return (ascending) ? 1 : -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -548,7 +548,7 @@ define([
|
||||
$("<span/>")
|
||||
.addClass("file_size")
|
||||
.addClass("pull-right")
|
||||
.css("width", "50px")
|
||||
.css("width", "65px")
|
||||
.appendTo(item);
|
||||
|
||||
$("<span/>")
|
||||
|
Loading…
Reference in New Issue
Block a user