Skip to content

Commit d52973c

Browse files
author
Rolf Sommerhalder
committed
make path relative (again)
1 parent b28e72f commit d52973c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flightpanel-speed.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
dial.onload = function(){
8686
ctx0.drawImage(dial,0,0,that.width,that.height); // scale to canvas size
8787
}
88-
dial.src= "../flightpanel-speed/speedDial.png"
88+
//dial.src= "../flightpanel-speed/speedDial.png"
89+
dial.src= "./bower_components/flightpanel-speed/speedDial.png"
8990

9091
that.hand.onload = function() {
9192
/* Variant A: save/restore */
@@ -111,7 +112,8 @@
111112
that.ctx1.drawImage(that.hand,0,0,that.width,that.height) // scale to canvas size
112113
*/
113114
}
114-
that.hand.src= "../flightpanel-speed/speedHand.png"
115+
//that.hand.src= "../flightpanel-speed/speedHand.png"
116+
that.hand.src= "./bower_components/flightpanel-speed/speedHand.png"
115117
},
116118

117119
speedChanged: function () {

0 commit comments

Comments
 (0)