Skip to content

Commit

Permalink
Upload V3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
poojabhimani12 committed Jun 12, 2023
1 parent b32c482 commit 6efd269
Show file tree
Hide file tree
Showing 20 changed files with 1,450 additions and 799 deletions.
285 changes: 179 additions & 106 deletions admin/assets/css/commenting-block-admin.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin/assets/images/md-block-addicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions admin/assets/images/md-block-commenticon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions admin/assets/images/md-block-focus-addicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions admin/assets/images/md-block-focus-commenticon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions admin/assets/images/md-block-focus-removeicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions admin/assets/images/md-block-removeicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions admin/assets/js/commenting-block-admin-general.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* General function to be called for required JS actions.
*/

var $ = jQuery;
$(document).ready(function () {
//Hide free guide notification popup
$(document).on('click', '.cf-pluginpop-close', function () {

var popupName = $(this).attr('data-popup-name');
setCookieGeneral('banner_' + popupName, "yes", 60 * 24 * 7);
$('.' + popupName).hide();
});

});

//set cookies
function setCookieGeneral(name, value, minutes) {
var expires = "";
if (minutes) {
var date = new Date();
date.setTime(date.getTime() + (minutes * 60 * 1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}

Loading

0 comments on commit 6efd269

Please sign in to comment.