Skip to content

Having "var e= m(blurred)" crashed the theme #1

@garvitjain123

Description

@garvitjain123

I recently found a bug in your production code.

I don't think it is an issue rather than a bug

In the production build there are 2 .js files that gets generated.
One of them is something like app* .
In this file there is a line
if(a["settings"].randomizeBG){var e=m();return e[Math.floor(Math.random()*e.length)]

which after prettifying looks like

if(a["settings"].randomizeBG)
{
var e=m(blurred);
return e[Math.floor(Math.random()*e.length)]
....

Earlier my theme was constantly getting crashed because it was throwing an error

CONSOLE ERROR Reference Error: ReferenceError: Can't find variable: blurred

and this would constantly crash my theme

Removing this "blurred" make it run like a charm.

just need to do

"var e = m();"

I didn't understand the code fully though.

Here is the following error
image

Thank You for making such an awesome once again.
Cheers man 👍 :

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions