Skip to content

Commit

Permalink
usermenu: Change js method for IE/Edge browser
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Mar 26, 2017
1 parent daf24d6 commit d40f944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/common/yona.Usermenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ $(function() {
.done(function(data){
$(".star-project").each(function () {
var $this = $(this);
if (data.projectIds.includes($this.data("projectId"))) {
if (data.projectIds.indexOf($this.data("projectId")) !== -1) {
$this.find("i").addClass("starred");
} else {
$this.find("i").removeClass("starred");
Expand Down

0 comments on commit d40f944

Please sign in to comment.