env undefine

NodeBB Development
  • i find the composer in my website can't suit the screen..
    so i just check out the js code and try to add alert(env) in
    if (percentage) {
    if ( env === 'md' || env === 'lg') {
    postContainer.css('height', Math.floor($(window).height() * percentage) + 'px');
    }
    }
    what i get is undefine. seems that the function findBootstrapEnvironment() doesn't work
    who can tell me what is my lack


Suggested Topics


  • 0 Votes
    4 Posts
    42 Views
  • 2 Votes
    9 Posts
    89 Views
  • 4 Votes
    12 Posts
    156 Views
  • 0 Votes
    1 Posts
    332 Views
  • 8 Votes
    15 Posts
    2704 Views