Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7605aa6

Browse files
committed
load header-nav templates from same domain
1 parent 664ebb2 commit 7605aa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ <h2>Comment Examples</h2>
169169
headerApp.directive('ngHeaderBootstrap', function(){
170170
return {
171171
restrict: 'C',
172-
templateUrl: tcconfig.mainURL + '/mf/js/app/header/partials/header-nav.html',
172+
templateUrl: '/mf/js/app/header/partials/header-nav.html',
173173
controller: function($scope, $timeout){
174174
$scope.vm = vm = {};
175175
$scope.main = {};

wp/wp-content/themes/tcs-responsive/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function _kms(u){
255255
headerApp.directive('ngHeaderBootstrap', function(){
256256
return {
257257
restrict: 'C',
258-
templateUrl: tcconfig.mainURL + '/mf/js/app/header/partials/header-nav.html',
258+
templateUrl: '/mf/js/app/header/partials/header-nav.html',
259259
controller: function($scope, $timeout){
260260
$scope.vm = vm = {};
261261
$scope.main = {};

0 commit comments

Comments
 (0)