Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I hate all the things which are somehow equivalent to java or having 'J' in starting
Jquery , JavaScript
So irritating..🤖 -
devTea240885y@hash-table here’s what happening, adminlte is an admin template ui, I tried to put 2 buttons on it’s sidebar with a click event. The event of one button worked, but the other doesn’t. Here’s the step
1st button -> addEvent -> render ajax data
2nd button -> addEvent
The first button flowed to the end perfectly, but the event of second button is removed. The second button has nothing related to the first one. Then I tried setTimeout(800) before addEvent on 2nd button and it worked (below 800 doesn’t work) that’s the hack -
devTea240885y@hash-table and I just found the most legit way to do it is by putting a function on a button with onClick, it breaks the consistency of the rest of the codebase, but it’s the cleanest way to do it for now
-
devTea240885y@hash-table can’t find any problem on my code and can’t be bothered to debug the template christmas js
Motherfucking jquery or adminlte, either one of this shit remove my element addEventListener, already found a way to do it, but it kinda hacky so I still searching the problem
Fuck both of you
rant