A glitch

A glitch

I have a table with the following repeated code in it

<td> <span>+</span> <span>some number</span> <span>-</span> </td>

and the following code

var sign = $(this).text();
var qu = $(this).parent().children().eq(1).text();
var v = $(this).parent().children().eq(1);
if(sign == '+')
{
if(qu >= 10)
{
}
else
{
qu = qu + 1;
$(v).text(qu);
console.log(qu);
}
}
if(sign == '-')
{
if(qu <= 0)
{
}
else
{
qu = qu-1;
$(v).text(qu);
}
}

The code which reduces the number by 1 works fine
However the code which increases the number by one just puts 1 on to the end of the current value.
(so 1 becomes 11, 6 becomes 61 ect)

This behavior suggests that the value is being treated as a string and the 1 is being added to the string.
However this does not make sense because the if(qu >= 10) condition works as it should and this would only work if qu was treated as an integer and the code for subtracting the value is exactly the same and it works fine