Sid Gifari File Manager
🏠 Root
/
home
/
nradmin
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
extensions
/
flatsome-cookie-notice
/
📝 Editing: flatsome-cookie-notice.js
/* global flatsomeVars, cookie */ jQuery(document).ready(function () { 'use strict' var $notice = jQuery('.flatsome-cookies') var cookieId = 'flatsome_cookie_notice' var cookieValue = flatsomeVars.options.cookie_notice_version if (Flatsome.cookie(cookieId) !== cookieValue) { setTimeout(function () { $notice.addClass('flatsome-cookies--active') $notice.on('click', '.flatsome-cookies__accept-btn', function (e) { e.preventDefault() $notice.removeClass('flatsome-cookies--active').addClass('flatsome-cookies--inactive') // set cookie Flatsome.cookie(cookieId, cookieValue, 365) }) }, 2500) } })
💾 Save
❌ Cancel
Sid Gifari File Manager v1.0 | Terminal Auto-Sync Enabled | Current Path: /home/nradmin/public_html/wp-content/themes/flatsome/inc/extensions/flatsome-cookie-notice