title: Coveo card view on mobile with default template
body: <p>I've been asked to disable the card view for a search result page. I know nothing about Coveo, but i have determined that for mobile the list view is prefered over card view. This is being implemented in a AEM 6.3 template.</p>
  
  <p>In CoveoJsSearch.js, starting at line 17728 I have the following:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>         if (merged.responsiveComponents.isSmallScreenWidth()) {
               templates = _.filter(templates, function (tmpl) { return tmpl.layout == 'card'; });
               merged.currentLayout = 'list';
               this.layout = 'list';
           }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I changed these to list from card and it does what i want, but this looks JS file looks like it's 'compiled' from the front end framework. So what is the best way to ensure mobile users see a list view rather than a card view for search results.</p>