Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function () {
- if ($(".flag-dialog").length > 0) { // check if this block is even necessary for the current page
- $(document).on("click", ".flag-dialog button.c", function () {
- ui.modalDialog.close(".flag-dialog");
- return false;
- });
- // more code...
- }
- });
- $(function () {
- if ($(".comment-section").length > 0) { // check if this block is even necessary for the current page
- $(document).on("click", ".comment-section button.s", function () {
- // ....
- });
- // more code...
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement