Git Product home page Git Product logo

Comments (3)

Jacobphilli avatar Jacobphilli commented on June 2, 2024

For anyone else who sees this thread, in the mean time you can remove the "simple logo" by:

  1. Navigate through your folders to /home/pi/MagicMirror/modules/MMM-SimpleLogo
  2. Open MMM-SimpleLogo.js
  3. The 4th line is...

text: "Simple Logo",

...delete the words in the quotation marks or add words you would prefer, such as "Magic Mirror"

from mmm-simplelogo.

misterbastean avatar misterbastean commented on June 2, 2024

@Jacobphilli You can do that, which will work 99% of the time. Just be aware that there will still be an empty string added to the DOM, which may or may not cause issues, depending on custom CSS or other modules that interact with this one.

I would suggest commenting out lines 39 & 40:

// var text = document.createTextNode(this.config.text);
// wrapper.appendChild(text);

This would make it so that they are never even added to the wrapper, ensuring they don't introduce any inconsistencies.

As for a solution in future updates, I would suggest not setting a default "text" value, then adding an if statement to conditionally render the "text" element only if the user supplies some text in the config.

from mmm-simplelogo.

frdteknikelektro avatar frdteknikelektro commented on June 2, 2024

Thank you @jonsger . hope this will help anyone

from mmm-simplelogo.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.