bigghuggs commited on
Commit
4f82910
·
verified ·
1 Parent(s): 2c65f05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -44,7 +44,12 @@ def multiprocessPrompts(prompts):
44
  return responses
45
 
46
 
 
 
 
 
47
 
 
48
 
49
  js_func = """
50
  function refresh() {
@@ -55,19 +60,15 @@ function refresh() {
55
  window.location.href = url.href;
56
  }
57
 
58
- $(window).on('load', function() {
59
- $('.scroll').css('overflow', 'scroll');
60
- console.log('jquery')
61
- });
 
62
  }
63
  """
64
 
65
- css = """
66
- .scroll {
67
- overflow: scroll;
68
- }
69
 
70
- """
71
 
72
 
73
  bed_layout_new = ['Artwork', 'Curtains', 'Palette', 'Bedroom Rug', 'Mirrors', 'Bedroom Chair', 'Ottoman', 'Bedroom', 'Bedroom Set', 'Bedding']
 
44
  return responses
45
 
46
 
47
+ css = """
48
+ .scroll {
49
+ overflow: scroll;
50
+ }
51
 
52
+ """
53
 
54
  js_func = """
55
  function refresh() {
 
60
  window.location.href = url.href;
61
  }
62
 
63
+ (function () {
64
+ $(document).ready(function(){
65
+ $('.scroll').css('overflow', 'scroll');
66
+ });
67
+ })(jQuery);
68
  }
69
  """
70
 
 
 
 
 
71
 
 
72
 
73
 
74
  bed_layout_new = ['Artwork', 'Curtains', 'Palette', 'Bedroom Rug', 'Mirrors', 'Bedroom Chair', 'Ottoman', 'Bedroom', 'Bedroom Set', 'Bedding']