yizhangliu commited on
Commit
72ecaf1
1 Parent(s): 5ab5463

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -1
utils.py CHANGED
@@ -309,7 +309,9 @@ start_cleaner = """async() => {
309
  } catch(e) {
310
  }
311
  }
312
- window['checkCanvas_interval'] = window.setInterval("window.checkCanvas()", 100);
 
 
313
  }"""
314
 
315
  download_img = """async() => {
 
309
  } catch(e) {
310
  }
311
  }
312
+ if (isMobile()) {
313
+ window['checkCanvas_interval'] = window.setInterval("window.checkCanvas()", 100);
314
+ }
315
  }"""
316
 
317
  download_img = """async() => {