Commit 4af7dc8f authored by Jim Tittsler's avatar Jim Tittsler
Browse files

iDevices use lowercase data-idevice

parent 267dad7f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ module.exports = {
    // restyle iDevices
    $('.eXe-iDevice').each(function(){
      var classes, $tloc, $inner,
          idtype = $(this).data('iDevice'),
          idtype = $(this).data('idevice'),
          idtheme = $(this).data('theme') || 'line',
          idtitle, idbody;
      idtheme = idtheme.toLowerCase();
@@ -253,7 +253,7 @@ module.exports = {
        })[0];
      }
      // WordPress theme uses spaces in iDevice types
      idtype = idtype.replace(/_+/g, ' ');
      idtype = $.trim(idtype.replace(/_+/g, ' '));

      // process new style Template:IDevice separately
      if ($(this).hasClass('iDevice')) {