Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong path for Omega2.png in www/console/apps/onion-gpio/onion-gpio.html #82

Open
RebeccaLouiseGoddammit opened this issue Jul 22, 2017 · 1 comment

Comments

@RebeccaLouiseGoddammit
Copy link

Is
/apps/onion-gpio/img/Omega2.png
should be
/console/apps/onion-gpio/img/Omega2.png

@Anze-
Copy link

Anze- commented Oct 17, 2017

true story!!
Quick fix:
add "/console" before "/apps/..." -> in -> (file)"/www/console/apps/onion-gpio.html" -> at -> "line 316/772 (40%), col 33/66 (50%), char 10117/29795 (33%)"

So that the code block will look like:

            var getImgPath = function (device){
                console.log("Inside getImgPath");
                if(this.isOmega(device)){
                        return '/apps/onion-gpio/img/omega.png';
                }else{
                        return '/console/apps/onion-gpio/img/Omega2.png';
                }
            }

this is the result:

screenshot from 2017-10-18 00-10-08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants