import $ from 'jquery'
import AnalyticsWrapper from "../utilities/analytics_wrapper";

export default (modal) => {
    $(document).on('click', '.finish.button', function () {
        chrome.runtime.sendMessage({ eventType: 'pop' });
        modal.modal('show');
    });
};

import $ from 'jquery'

export default (modal) => {
    $(document).on('click', '.finish.button', function () {
        chrome.runtime.sendMessage({ eventType: 'pop' });
        modal.modal('show');
    });
};

Revert "Missing import for AnalyticsWrapper"
Revert "Missing import for AnalyticsWrapper"

We stopped using AnalyticsWrapper and now send messages to the background instead

This reverts commit 0f6cd479b089319275d3f08e79c8e9ecbf96eb5e.
