title: Dropdown not triggered when using partial view in Rails
body: <p>I have the following in my index:</p>
  
  <pre><code>&lt;div class="btn-group wkt-btn-group"&gt;
    &lt;button type="button" class="btn share dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;SHARE
        &lt;span class="fa fa-angle-down" style="font-size:16px;"&gt;&lt;/span&gt;
        &lt;/button&gt;
    &lt;% render partial: 'booksocial',  locals: {book: book} %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Then in my partial:</p>
  
  <pre><code>&lt;ul class="dropdown-menu wk-social"&gt;
  &lt;li&gt;
      &lt;div class="jssocials-share jssocials-share-email"&gt;
          &lt;a href="#" onclick="PrintImage('&lt;%= image_url(book.book_image.to_c)%&gt;'); return false;" class="jssocials-share-link" style="background-color: purple; width: 73px;"&gt;Print&lt;/a&gt;
          &lt;i class="jssocials-share-logo"&gt;&lt;/i&gt;
      &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
      &lt;div class="jssocials-share jssocials-share-email"&gt;
          &lt;a href="mailto:?Subject=I Like BIg Books&amp;amp;Body=I%20saw%20this%20and%20thought%20of%20you!%20 http://books.com/book/&lt;%= book.book_name %&gt;" class="jssocials-share-link"&gt;
              &lt;i class="fa fa-at jssocials-share-logo"&gt;&lt;/i&gt;&lt;span class="jssocials-share-label"&gt;E-mail&lt;/span&gt;
          &lt;/a&gt;
      &lt;/div&gt;
  
  &lt;/li&gt;
  </code></pre>
  
  <p>The page is rendering with the dropdown button but it's actually not rendering the dropdown options. Is there something in my code preventing the list from rendering?</p>