aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Web.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LXRng/Web.pm')
-rw-r--r--lib/LXRng/Web.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/LXRng/Web.pm b/lib/LXRng/Web.pm
index c9acc71..df2422e 100644
--- a/lib/LXRng/Web.pm
+++ b/lib/LXRng/Web.pm
@@ -125,6 +125,11 @@ sub print_markedup_file {
mkpath($cfile, 0, 0777);
open($cache, '>', "$cfile/0");
}
+ else {
+ # Don't chunk file transfers unless cache is enabled.
+ $focus = 1;
+ }
+
my $handle = $node->handle();
LXRng::Lang->init($context);
my $lang = LXRng::Lang->new($node);