Skip to content

Commit e9181b4

Browse files
author
minjk-bl
committed
CHROME: Fixed image path on FileNavigation
1 parent 2a92ede commit e9181b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

js/com/component/FileNavigation.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
define([
1616
'text!vp_base/html/component/fileNavigation.html!strip',
1717
'css!vp_base/css/component/fileNavigation',
18+
'vp_base/js/com/com_Const',
1819
'vp_base/js/com/com_String',
1920
'vp_base/js/com/com_util',
2021
'vp_base/js/com/component/Component'
21-
], function(fileNaviHtml, fileNaviCss, com_String, com_util, Component) {
22+
], function(fileNaviHtml, fileNaviCss, com_Const, com_String, com_util, Component) {
2223
// Temporary constant data
2324
const NAVIGATION_DIRECTION_TYPE = {
2425
TOP: 0,
@@ -189,7 +190,7 @@ define([
189190

190191
template() {
191192
/** Implement generating template */
192-
return fileNaviHtml;
193+
return fileNaviHtml.replaceAll('${vp_base}', com_Const.BASE_PATH);
193194
}
194195

195196
/**

0 commit comments

Comments
 (0)