Question: I have this query:

```
SELECT queue.first_dealer, queue.second_dealer, queue.status
FROM queue
WHERE queue.status = 3
AND queue.first_dealer = $user_id
OR queue.second_dealer = $user_id
AND queue.status = 3
ORDER BY id DESC
LIMIT 5

```

But sometimes the first\_dealer or the second\_dealer can be the same, I want to skip to the next records if they are the same.

Answer: 
This is not the exactly what you need.But if you just want to hide the tooltip, you can set the display property to none-

```
.tip-wrap {
display: none !important;
}

```
If you use a template only approach to removing javascript - some components still force the addition of code.

So - far the only reliable solution I have found is utilizing a plugin to block js - JSS - CSS control:
<http://extensions.joomla.org/extensions/extension/core-enhancements/performance/js-css-control>