Commit 3840382c authored by Leo Iannacone's avatar Leo Iannacone

reset current_file_in_preview if user want to show the whole file

parent ad59905b
...@@ -121,6 +121,7 @@ function Page_Distrubion(socket) { ...@@ -121,6 +121,7 @@ function Page_Distrubion(socket) {
// set onclick get-whole-file // set onclick get-whole-file
$("#get-whole-file").on('click', function () { $("#get-whole-file").on('click', function () {
file.get(true); file.get(true);
current_file_in_preview = false;
}); });
}, },
clean: function () { clean: function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment