Commit 267dad7f authored by Jim Tittsler's avatar Jim Tittsler

WP theme uses iDevice types with spaces not underscores

parent 6bcc5713
......@@ -252,6 +252,8 @@ module.exports = {
return (e !== 'eXe-iDevice') && (e !== 'iDevice');
})[0];
}
// WordPress theme uses spaces in iDevice types
idtype = idtype.replace(/_+/g, ' ');
// process new style Template:IDevice separately
if ($(this).hasClass('iDevice')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment