Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6284f68

Browse files
committed
fix "==" to "===" as per linter
1 parent 9494295 commit 6284f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ var ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) {
489489

490490
selectCtrl.readValue = function readNgOptionsValue() {
491491

492-
if (selectElement.val() == '') return $parse(attr.ngEmptyValue)(scope);
492+
if (selectElement.val() === '') return $parse(attr.ngEmptyValue)(scope);
493493

494494
var selectedOption = options.selectValueMap[selectElement.val()];
495495

0 commit comments

Comments
 (0)