It's still there! Go to inspect element and the div is still there just marked as display: none !important. Delete the none !important bit and it comes right back. This is the quick way to hide it but not the permanent solution obviously.
Edit: Looks like it is fixed. Fun while it lasted!
Pushing a change to the styling may have a simpler internal workflow to pushing a change to the actual code.
For starters, in the majority of cases it seems overkill to re-run any unit tests, schedule code reviews or similar steps for a trivial one-liner CSS change, but these may be automatic/required by policy for code changes.
I suspect a code-change is in the works, but this was the fastest way to triage the problem while it trundles through the internal processes before approval and being pushed to the live site.
That makes sense. Don't think I've ever worked any place where we couldn't force something through to production, but I can see really slow unit tests that can't be skipped... or a system where the front end isn't separated enough so allow just those tests to run.
I was wondering that as well. My probably-wrong guess is that in a panic, somebody in management who doesn't know who can do what asked the CSS guy to fix it and the CSS guy fixed it the only way he knew how--by using CSS.
This is why you never put offensive crap in your debug messages (or even in code tbh). Anything you write can (and will if it's offensive) turn up clientside.
I worked on an xbox 360 racing game a few years back. In one of the car selection screens we used the placeholder text "Batmobile" because the car looked like an old-school batmobile from the 60's or something. The placeholder text would normally get replaced with the localized text except in cases when the localizer returned a null.
The localizer happened to return null when we were demoing the game in front of several of our publisher's executives and IP managers.
A major shitstorm ensued as well as accusations that we were going behind their back to get an IP deal with Warner Bros.
Similarly with example content. My boss once jokingly typed in some vaguely insulting things about a client during a CMS demo, and it became the top result on Google for a search on the company name!
Takeaway lesson: Assume that anything you put on a website is public.
every error message i've ever coded is like this in development. it's kind of a pain to go back through and delete everything, but it does make testing fun.
102
u/TheDukeOfFail Jun 22 '12
Picture of it for when it stops working.
29
u/killayoself Jun 22 '12 edited Jun 22 '12
It's still there! Go to inspect element and the div is still there just marked as display: none !important. Delete the none !important bit and it comes right back. This is the quick way to hide it but not the permanent solution obviously.
Edit: Looks like it is fixed. Fun while it lasted!
18
u/pheliam Jun 22 '12
Grumpy JS guy had a long day?
16
u/Kacheeto Jun 22 '12
Takes some balls. Must be a story behind this. >_<
10
u/Chilton_Squid Jun 22 '12
Chances of the OP being the disgruntled Lenovo employee?
8
u/muddylemon Jun 22 '12
Somebody break out the git blame
9
u/doctea Jun 22 '12
accidentally left in some abusive debug messages on a live site i was involved with a few years ago. fortunately the client had a good laugh about it!
4
u/FloatingFast Jun 22 '12
every error message i've ever coded is like this in development. it's kind of a pain to go back through and delete everything, but it does make testing fun.
2
u/treycopeland Jun 22 '12
Possible JS source file: http://outlet.lenovo.com/SEUILibrary/hightech-portal/js/wci/WciCatalogUtils.js
4
u/[deleted] Jun 22 '12
spoilers
1
u/Monofu Jun 22 '12
JS is officially fixed.
-2
u/[deleted] Jun 22 '12
LOL So awesome.
-12
u/[deleted] Jun 22 '12
?
-3
u/The_Pants_Command_Me Jun 22 '12
Hack move.