Commit 799207b0 authored by Smari McCarthy's avatar Smari McCarthy
Browse files

Fixing null condition

parent 0fe700b0
......@@ -94,6 +94,9 @@ Marka.prototype.match = function() {
Marka.prototype.doConversions = function() {
var self = this;
if (this.getCurrentCurrency() == "" || this.getCurrentCurrency() == null) {
return;
}
$(".marka").each(function(index, value) {
var text = $(value).data("original_value");
var res = self.splitSymbols(text);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment