I have a piece of code that works fine until I turn on some css.
Here is a link to the code (the code editor didn’t like the script and html mix here and experienced my patience, sorry). Here you can view the Gist code snippet.
It uses bootstrap. The problem is that this works great (it displays text input with x to clear it, and when you press x, it clears the text input field). When I turn on ...
<link href="css/app.css" rel="stylesheet">
but pressing x in the input field does nothing. Can anyone see any obvious reasons?
Without CSS, it included this well. With CSS enabled, it fails.
The css file is basically a massive file without compilation and may not be suitable for hosting the code here, so here it is in another gist link .
UPDATE: here are the console logs if this helps: enter the link here
source share