diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-05-25 20:41:39 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-05-25 20:41:39 +0200 |
commit | 12b97d67573042a66b8bf7a84f60df861a5d8632 (patch) | |
tree | 35c0901cdbd0eb56f4a7a909f7452b508ecc1b5b | |
parent | f0a819a968e5d935c757bb65acdfbca480398274 (diff) | |
download | wallabag-12b97d67573042a66b8bf7a84f60df861a5d8632.tar.gz wallabag-12b97d67573042a66b8bf7a84f60df861a5d8632.tar.zst wallabag-12b97d67573042a66b8bf7a84f60df861a5d8632.zip |
hide article until import is finished
-rwxr-xr-x | themes/default/_import.twig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/_import.twig b/themes/default/_import.twig index c59b7a15..079203a2 100755 --- a/themes/default/_import.twig +++ b/themes/default/_import.twig | |||
@@ -2,11 +2,13 @@ | |||
2 | <!-- | 2 | <!-- |
3 | $(document).ready(function() { | 3 | $(document).ready(function() { |
4 | $("body").css("cursor", "wait"); | 4 | $("body").css("cursor", "wait"); |
5 | $("#content").css("display", "none"); | ||
5 | 6 | ||
6 | setTimeout(function(){ | 7 | setTimeout(function(){ |
7 | window.location = './?import'; | 8 | window.location = './?import'; |
8 | }, {{ import.delay }} ); | 9 | }, {{ import.delay }} ); |
9 | }); | 10 | }); |
11 | |||
10 | //--> | 12 | //--> |
11 | </script> | 13 | </script> |
12 | <div class="messages warning"> | 14 | <div class="messages warning"> |