The Israeli army says Palestinian militants detonated a car bomb near a shrine in the West Bank city of Nablus overnight , but caused no injuries or damage .