Skip to content

Commit 1d3226d

Browse files
committed
COM-3305 Fixed review comments remove function check
1 parent 73a4b7f commit 1d3226d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

scripts/modules/b2b-account/quotes.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,7 @@ define([
205205
},
206206
filter: function(collection) {
207207
var filterStr = "";
208-
var qName = $("#searchName").val();
209-
if (typeof String.prototype.mzCheckSpacialChar === 'function') {
210-
qName = $("#searchName").val().mzCheckSpacialChar();
211-
}
208+
var qName = $("#searchName").val().mzCheckSpacialChar();
212209
var qNumber = $("#searchQuoteNumber").val();
213210
var status = $("#statusDropdown").val();
214211
var expDate = $("#expirationdate").val();

0 commit comments

Comments
 (0)