Difference between revisions of "Demo why"

Line 35: Line 35:
 
                 // Does the pop_why need to be installed?
 
                 // Does the pop_why need to be installed?
 
                 if ( ! $(this).children('.pop_why_div').length ) {
 
                 if ( ! $(this).children('.pop_why_div').length ) {
 +
alert("Got here");
 
                         $(this).append("<DIV class='pop_why_div'></div>");
 
                         $(this).append("<DIV class='pop_why_div'></div>");
 
                       $(this).find('.pop_why_div').load( this.data('data-poptitle') + '?action=raw');
 
                       $(this).find('.pop_why_div').load( this.data('data-poptitle') + '?action=raw');

Revision as of 17:01, 5 February 2015

Why