Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12109 closed bug (invalid)

.on() method not working for multiple events

Reported by: bernhard567@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

$('body').on('ready resize', 'p.nav > a > span', function(){ var preferredHeight = 800; var displayHeight = $(window).height(); var percentage = displayHeight / preferredHeight; var newFontSize = Math.floor(fontsize * percentage) - 1; $("p.nav > a > span").css("font-size", newFontSize); });

Why is this code not working Much Thanks for your help

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please ask for help on a forum.

Note: See TracTickets for help on using tickets.