File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ GDBFrontend.Plugin.prototype.path = function GDBFrontendPlugin(parameters) {
59
59
path = parameters . path ;
60
60
}
61
61
62
- return '/ plugins/' + this . name + '/' + path ;
62
+ return 'plugins/' + this . name + '/' + path ;
63
63
} ;
64
64
65
65
/*
@@ -77,8 +77,8 @@ GDBFrontend.registerPlugin = function (parameters) {
77
77
var $link = $ ( '<link rel="stylesheet" type="text/css" />' ) ;
78
78
var $script = $ ( '<script type="text/javascript"></script>' ) ;
79
79
80
- $link . attr ( 'href' , '/ plugins/' + plugin . name + '/css/' + plugin . name + '.css' ) ;
81
- $script . attr ( 'src' , '/ plugins/' + plugin . name + '/js/' + plugin . name + '.js' ) ;
80
+ $link . attr ( 'href' , 'plugins/' + plugin . name + '/css/' + plugin . name + '.css' ) ;
81
+ $script . attr ( 'src' , 'plugins/' + plugin . name + '/js/' + plugin . name + '.js' ) ;
82
82
83
83
$link . appendTo ( $ ( 'body' ) ) ;
84
84
$script . appendTo ( $ ( 'body' ) ) ;
You can’t perform that action at this time.
0 commit comments