\n \n {this.props.tooltipContent}\n
\n \n );\n }\n}\n\nexport default Tooltip;\n","import Utils from \"./utils\";\n\n// used for mobile version of questions\n\nclass AppTooltip {\n\n constructor() {\n this.mobileVersion();\n }\n\n show() {\n if (Modernizr.touchscreen) {\n this._showTouchScreenTooltip();\n } else {\n this._showNonTouchScreenTooltip();\n }\n }\n\n mobileVersion() {\n Modernizr.addTest('touchscreen', function(){\n return Utils.isMobile();\n });\n }\n\n _showTouchScreenTooltip() {\n $('[title!=\"\"]').qtip({\n style: {\n classes: 'qtip-bootstrap'\n },\n position: {\n my: 'top left',\n at: 'bottom right',\n viewport: $(window),\n adjust: {\n method: 'flip'\n }\n },\n show: {\n delay: 800\n },\n hide: {\n event: false,\n inactive: 3000\n }\n });\n }\n\n _showNonTouchScreenTooltip() {\n $('[title!=\"\"]').qtip({\n style: {\n classes: 'qtip-bootstrap'\n },\n position: {\n my: 'top left',\n at: 'bottom right',\n viewport: $(window),\n adjust: {\n method: 'flip'\n }\n },\n show: {\n delay: 800\n }\n });\n }\n\n disableTooltip() {\n $('*').attr(\"title\",\"\");\n $('*').qtip('disable');\n }\n\n}\n\nexport default AppTooltip;","class RemindersPage {\n\n run = () => {\n this.clickEmailNotificationListener();\n }\n\n clickEmailNotificationListener = () => {\n const self = this;\n\n $('.email-notifications').on('click', function (e) {\n e.preventDefault();\n self.emailNotificationButtonState();\n $('#notification_form').submit();\n });\n }\n\n emailNotificationButtonState = () => {\n if ($('.email-notifications').hasClass('turn-off')) {\n $('#user_settings_report_ready_email, #user_settings_scheduled_xmetryx_email').prop(\"checked\", false);\n $('.email-notifications').html(\"Get Them By Email