fix "JQMIGRATE: jQuery.fn.toggle(handler, handler...) is deprecated"

Bug: 65804
Change-Id: Ie25caa8ee2c2be9c5a2c13b3415fcd2d32ad7fb1