Why doesn't my popup display?

I set up two popovers to display based on screen size (one large and one small). However the plugin only displays one of the popovers.

The plugin works fine for large screens but doesn't display on small screens. The only way I can get it to work is by disabling the large one.

Why doesn't the priority work?