gridder-ajax icon indicating copy to clipboard operation
gridder-ajax copied to clipboard

javascript TypeError exception

Open yscialom opened this issue 9 years ago • 0 comments

Hello,

I stumbled upon a TypeError exception "c is undefined" when I loaded the page on Firefox (41.0). 100% reproduction.

The page:

<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <script src="js/jquery-2.1.4.min.js"></script>
    <script src="js/gridder-ajax.js"></script>
    <link rel="stylesheet" href="css/gridder-ajax.css" />
    <title>test</title>
  </head>
  <body>
    <ul class="gridder-list">
      <li class="item item-739 do-expand-item" data-griddercontent="./albums/2006-10-01+-+Vacances+en+Alsace/index.html">
        <img src="http://placehold.it/150x200" />
      </li>
      <li class="item item-642 do-expand-item" data-griddercontent="./albums/2010-07-10+-+Weekend+entre+amis+dans+la+Sarthe/index.html">
        <img src="http://placehold.it/150x200" />
      </li>
      <li class="item item-722 do-expand-item" data-griddercontent="./albums/2006-05-27+-+20+ans+de+Ling/index.html">
        <img src="http://placehold.it/150x200" />
      </li>
      <li class="item item-431 do-expand-item" data-griddercontent="./albums/2007-11-01+-+Vacances+chez+Lulu/index.html">
        <img src="http://placehold.it/150x200" />
      </li>
      <!-- [...] -->
    </ul>
    <script>
      jQuery(document).ready(function ($) {
        // Call Gridder
        $('.gridder-list').GridderAjax({
          scrollOffset: 200
        });
      });
    </script>
  </body>
</html>

Here is a screen capture of the exception under inspection: Exception inspection under Firefox

Am I doing somthing wrong? Am I doing it right?

yscialom avatar Sep 27 '15 16:09 yscialom