-
-
Save inkredabull/6779a9b254d85fa47645985ccaa82f61 to your computer and use it in GitHub Desktop.
NoTQs.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Callout = require('coffee!./callout') | |
class NoTestQuestionsCallout extends Callout | |
constructor: -> | |
@$popover = jQuery('#fte-for-no-test-questions') | |
@$container = jQuery('.step_header') | |
@visible = CF.TestQuestions.count == 0 && !localStorage.getItem(@$popover.attr('id')) | |
@position = 'bottom' | |
super | |
module.exports = NoTestQuestionsCallout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment