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) {
|
findPluginMobileTemplate(parsedName) {
|
||||||
|
if (this.mobileView) {
|
||||||
var pluginParsedName = this.parseName(parsedName.fullName.replace("template:", "template:javascripts/mobile/"));
|
var pluginParsedName = this.parseName(parsedName.fullName.replace("template:", "template:javascripts/mobile/"));
|
||||||
return this.findTemplate(pluginParsedName);
|
return this.findTemplate(pluginParsedName);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
findMobileTemplate(parsedName) {
|
findMobileTemplate(parsedName) {
|
||||||
|
|
Loading…
Reference in New Issue