back-event.js 316 Bytes
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
    'jquery'
], function ($) {
    'use strict';

    return function (config, element) {
        $(element).on('click', function() {
            history.back();
            return false;
        });
    };
});