Real time monitor svg color changes

hi guys
i have three svg and when i click on any svg this svg color changed
now i want to write js code to check if all svg color changed display alert for me
and so i wrote followin codes but not work

  if (($('.f-icon').find('#Group-8').attr('fill') == '#fff') &&
      ($('.c-icon').find('#Group-8').attr('fill') == '#fff') &&
      ($('.t-icon').find('#Group-8').attr('fill') == '#fff')) {
        alert('hi');
  }

please help me

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.