INFRA-132 - js/view/crm.profile-selector.js - Cleanup empty checks to satisfy jshint
authorTim Otten <totten@civicrm.org>
Mon, 5 Jan 2015 21:45:11 +0000 (13:45 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 5 Jan 2015 21:46:28 +0000 (13:46 -0800)
js/view/crm.profile-selector.js

index 764c649bc4446241a0c3185c05896b617470e9e0..54b1de5fe270e853cdafad44becabfbec4c34788 100644 (file)
@@ -71,7 +71,7 @@
       this.$('.crm-profile-selector-edit,.crm-profile-selector-copy').prop('disabled', !this.hasUfGroupId());
     },
     hasUfGroupId: function() {
-      return (this.getUfGroupId() && this.getUfGroupId() != '') ? true : false;
+      return (this.getUfGroupId() && this.getUfGroupId() !== '') ? true : false;
     },
     setUfGroupId: function(value, options) {
       this.options.ufGroupId = value;