summaryrefslogtreecommitdiff
path: root/js/tbc_external_review.js
diff options
context:
space:
mode:
authorSashi202021-02-23 15:27:43 +0530
committerGitHub2021-02-23 15:27:43 +0530
commitbcced4fe94e895b96a724483a2e08e218726baf1 (patch)
treef561d430e6db436a1723e10bc961618e8a7653bf /js/tbc_external_review.js
parent53762d582520841fe82c48177999663f6c042bb4 (diff)
parent84b9852a06c5c43f0d74d1295f6b8aa9d1de8bd0 (diff)
downloadtbc-external-review-bcced4fe94e895b96a724483a2e08e218726baf1.tar.gz
tbc-external-review-bcced4fe94e895b96a724483a2e08e218726baf1.tar.bz2
tbc-external-review-bcced4fe94e895b96a724483a2e08e218726baf1.zip
Merge pull request #1 from Sashi20/master
Rename popup class name to avoiod conflict with xcos popup
Diffstat (limited to 'js/tbc_external_review.js')
-rwxr-xr-xjs/tbc_external_review.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/tbc_external_review.js b/js/tbc_external_review.js
index dfbebf7..1343ab1 100755
--- a/js/tbc_external_review.js
+++ b/js/tbc_external_review.js
@@ -226,11 +226,11 @@ $('#btnDialog').click(function(){
});
- //popup for review //
+ //scilab-popup for review //
$(window).load(function(){
jQuery(document).ready(function ($) {
- $(this).on('click', '#popup_window', function (e) {
+ $(this).on('click', '#scilab-popup_window', function (e) {
var comment_id = $(this).attr("data-comment");
@@ -241,13 +241,13 @@ $('#btnDialog').click(function(){
type: "GET",
dataType: "html",
success: function(data) {
- $("#popup-content").html(data);
+ $("#scilab-popup-content").html(data);
},
});
e.preventDefault();
$('html').addClass('overlay');
- $('#example-popup').addClass('visible');
+ $('#example-scilab-popup').addClass('visible');
});
@@ -260,21 +260,21 @@ $('#btnDialog').click(function(){
}
});
- $('.popup-exit').click(function () {
+ $('.scilab-popup-exit').click(function () {
clearPopup();
});
- $('.popup-overlay').click(function () {
+ $('.scilab-popup-overlay').click(function () {
clearPopup();
});
function clearPopup() {
- $('.popup.visible').addClass('transitioning').removeClass('visible');
+ $('.scilab-popup.visible').addClass('transitioning').removeClass('visible');
$('html').removeClass('overlay');
setTimeout(function () {
- $('.popup').removeClass('transitioning');
+ $('.scilab-popup').removeClass('transitioning');
}, 200);
}