only perform the check on mobile view
This commit is contained in:
parent
0b20c0b581
commit
18da378f9a
|
@ -141,8 +141,10 @@ export default Ember.DefaultResolver.extend({
|
|||
},
|
||||
|
||||
findPluginMobileTemplate(parsedName) {
|
||||
var pluginParsedName = this.parseName(parsedName.fullName.replace("template:", "template:javascripts/mobile/"));
|
||||
return this.findTemplate(pluginParsedName);
|
||||
if (this.mobileView) {
|
||||
var pluginParsedName = this.parseName(parsedName.fullName.replace("template:", "template:javascripts/mobile/"));
|
||||
return this.findTemplate(pluginParsedName);
|
||||
}
|
||||
},
|
||||
|
||||
findMobileTemplate(parsedName) {
|
||||
|
|
Loading…
Reference in New Issue