Sindbad~EG File Manager

Current Path : /home/julesbu/www/wp-content/plugins/admin-notices-manager/assets/dist/js/
Upload File :
Current File : /home/julesbu/www/wp-content/plugins/admin-notices-manager/assets/dist/js/pointer.js

"use strict";

jQuery(function () {
  var __ = wp.i18n.__;

  if (!anm_pointer_i18n.is_dismissed) {
    jQuery('#' + anm_pointer_i18n.first_element_id).pointer({
      content: "<h3>" + anm_pointer_i18n.content_title + "<\/h4>" + "<p>" + anm_pointer_i18n.content_text + "</p>",
      position: {
        edge: 'top',
        align: 'center'
      },
      pointerClass: 'wp-pointer anm-pointer',
      //pointerWidth: 20,
      close: function close() {
        jQuery.post(ajaxurl, {
          pointer: anm_pointer_i18n.menu_name,
          action: 'dismiss-wp-pointer'
        });
        second.pointer('open');
      }
    }).pointer('open');
  }

  var second = jQuery('#' + anm_pointer_i18n.second_element_id).pointer({
    content: "<h3>" + anm_pointer_i18n.second_content_title + "<\/h3>" + "<p>" + anm_pointer_i18n.second_content_title + "</p>",
    position: {
      edge: 'left',
      align: 'center'
    },
    // pointerClass:
    // 	'wp-pointer anm-pointer',
    //pointerWidth: 20,
    close: function close() {
      jQuery.post(ajaxurl, {
        pointer: anm_pointer_i18n.settings_menu_name,
        action: 'dismiss-wp-pointer'
      });
    }
  });

  if (anm_pointer_i18n.is_dismissed && !anm_pointer_i18n.settings_is_dismissed) {
    second.pointer('open');
  }
});

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists