Skip to content

Commit

Permalink
Only show pointer on new installs
Browse files Browse the repository at this point in the history
  • Loading branch information
thetylerhayes committed Jan 4, 2013
1 parent cc9cdb7 commit ab9e234
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion disqus/disqus.php
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,10 @@ function dsq_enqueue_pointer_script_style( $hook_suffix ) {
}

}
add_action( 'admin_enqueue_scripts', 'dsq_enqueue_pointer_script_style' );
if (!dsq_is_installed()) {
// Only show the pointer when Disqus isn't already configured
add_action( 'admin_enqueue_scripts', 'dsq_enqueue_pointer_script_style' );
}

function dsq_pointer_print_scripts() {

Expand Down

0 comments on commit ab9e234

Please sign in to comment.