Fixup js/history.js

Change == to === and != to !==
This commit is contained in:
Milow
2012-11-23 22:06:11 -06:00
parent 8e01829bf0
commit 89d03a6aa6
+2 -2
View File
@@ -28,7 +28,7 @@ function showOrder(mode, var_content, file)
{
$.get(
file,
((mode == 1) ? {'id_order': var_content, 'ajax': true} : {'id_order_return': var_content, 'ajax': true}),
((mode === 1) ? {'id_order': var_content, 'ajax': true} : {'id_order_return': var_content, 'ajax': true}),
function(data)
{
$('#block-order-detail').fadeOut('slow', function()
@@ -56,7 +56,7 @@ function showOrder(mode, var_content, file)
{
var maxQuantity = parseInt($(this).parent().find('.order_qte_span').text());
var quantity = parseInt($(this).val());
if (isNaN($(this).val()) && $(this).val() != '')
if (isNaN($(this).val()) && $(this).val() !== '')
{
$(this).val(maxQuantity);
}