« first day (2410 days earlier)      last day (2762 days later) » 

21:14
@rlemon gimme address
dat true?
240 bridlewreath
that sounds like bs
21:17
To me that is more likely than the cannon fact above :D
@Shmiddty 69 baby ;)
@KamilSolecki they don't put a cannonball in it, just gunpowder
Yeah, I know. I just.. wouldnt bother loading it everyday.
@KamilSolecki people like their traditions
They apparently also like making children ^^
21:20
They like fucking, the children are just a side effect
I don't get this romper thing
people actually wear them?
@Shmiddty are we talking this? google.pl/…
yeah, but apparently men are wearing them now
Might as well buy a one-part pyjamas (dunno if there are any male ones lol)
21:24
@rlemon I'll be there at 6
dude we're hungry
how you want your steak
Roadkill Red
@rlemon medium, medium rare if you can do it well
user2620028
ok im confused as fuck
All in between of those! :) @Mosho
user2620028
21:28
i tried converting a bit of code from jq .submit handler to addeventlistener submit
user2620028
and i can't get it to fire. Is there something special with forms?
not that i'm aware of, though to be fair i haven't done a lot of form handling directly in a while.
code sample?
user2620028
yeah i haven't in a long time as well. So this one is really confusing the fuck out of me
@HatterisMad Maybe unrelated, but doing form.submit() in js doesn't fire any event handler
Maybe jquery wraps it somehow so that it goes run event listeners though
nah, doesn't fire jquery event handlers either
user2620028
21:30
@Zirak yeah im just letting the browser fire the event handler on a button submit
can use that as an advantage in many cases
I mean maybe jquery's $(form).submit() wraps it
@HatterisMad Then you're doing something wrong
user2620028
@Zirak this seems like other code is interfering or something along those lines :/
there isn't a whole lot that can go wrong with event handlers.
either it's bound or it isn't
or, some other previously bound event is stopping them.
user2620028
jsfiddle.net/oz1fvh7o This is essentially what isn't working in my environment
user2620028
21:34
but if i instead use $('#example').submit( function(){}); then it works
how is the form being submitted?
button click?
user2620028
the button being pressed
does the button have any events?
user2620028
no
does it have a type?
user2620028
21:35
type="submit"
symptoms point to the button having an event handler
does the form post to the action ?
or is something stopping it
user2620028
the button has the form submit event bound to it
And the problem was found
user2620028
21:37
but that is what we want...
Forms are submitted, buttons are clicked
Buttons aren't submitted
user2620028
go inspect the button on the fiddle
user2620028
it has the same event
user2620028
or is that just chrome lying to me
untick "ancestors"
21:39
Its ancestor has it
user2620028
ahh
user2620028
yeah so the button doesn't have any event handlers bound then
cool. didn't realize you could see eventhandlers in chrome's console.
The chrome dev tools are insane
In that case, do you see your event handler on the form?
in your code
user2620028
21:41
yeah
hovering over the function (e) shows your code?
user2620028
yep
user2620028
im guessing someone else did something stupid in the code base at a previous time and this is some weird unintended fallout
I lost the game. darn your rules haha
@CᴏɴᴏʀO'Bʀɪᴇɴ Welcome to the JavaScript chat! Please review the room rules. Pleasedon't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
21:51
Anyone that can help out with why my Image wont highlight on hover while the other dims in codepen.io/Feners4/pen/xdQmyQ ?
user2620028
it just started working, as far as i can tell i didn't change anything. no fucking idea what its problem was
shouldiblamecaching
@HatterisMad For that purpose the gods invented git diff
user2620028
@Zirak i didn't commit between saves :/
@HatterisMad smh
user2620028
22:00
lol don't give me that, do you honestly want to say that you commit every time you save a file
you don't?
Nope, but do you have a rough sketch of what's changed since the last commit?
Can you do the binary crab walk through those changes?
auto-commit on save with a random commit message generator
user2620028
22:03
the only difference is that i moved my e.preventDefault() to the top of the function from the bottom
user2620028
which shouldn't make a difference
I was able to recreate your issue by using capturing and adding a click handler to the body that stopped immediate propagation
but it would have been easier to just forget to bind the event
swapping it back would prove that it doesn't make a difference
user2620028
i just swapped it back and it is still working
user2620028
who knows, must of had a dirty environment
user2620028
as long as it is no longer fucking with me, i have no interest in it
22:38
Oh god dammit I was selected for "Random Mandatory Insider Threat Compliance Training"
Meaning I have to sit in a room with suits and go over what insider threats look like and what I can do to prevent them -_-
user2620028
@SterlingArcher do they look australian?
23:13
@SterlingArcher imgur.com/Ttrq5
do that
that's how I deal with annoying users
but now I have a reputation for being autistic
so there are downsides to it
WOLOLOLOLOL
@FlorianMargaine what the fuck hahaha
23:48
dare you to say something along the lines of "I AM THE DANGER"
which you know...having commit rights to the source code is kinda a thing
Apparently my company was bankrupt. Out of the blue layed off everyone today and the place had everything taken out in like an hour.
o_O whoa
that's scary
you uh okay?
I'm pretty screwed. I had am interview today already. We'll see what happens. Pretty nuts.

« first day (2410 days earlier)      last day (2762 days later) »