I want to trigger the Street Icon on in this browser game. In other games it was easy by using the document.getElementById.
In Firefox the button shows up as jQuery. However if I create an event function nothing happens.
This is what I did, copied the event from inspector into a function and called streetIcon(); in the console.
function streetIcon() {
function (d) {
var e = function() {
g(b, {
$event: d
})
};
Gg[a] && c.$$phase ? b.$evalAsync(e) : b.$apply(e)
}
}
However, it doesn't work like with document.getElementById.
Is there a way to trigger buttons div class or so? I feel like I'm doing this wrong so pointing to the correct documentation is much appreciated.