Changeset 4b7e2d3 for resources/assets


Ignore:
Timestamp:
10/23/21 04:03:46 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
b39afb5
Parents:
c6b84df
Message:

bug fixes, edited export, added fileSeeder for DB testing

Location:
resources/assets/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • resources/assets/js/app.min.js

    rc6b84df r4b7e2d3  
    497497/***/ (function(module, exports, __webpack_require__) {
    498498
    499 __webpack_require__(/*! C:\wamp64\www\themeforest\nago\resources\js\app.js */"./resources/js/app.js");
    500 module.exports = __webpack_require__(/*! C:\wamp64\www\themeforest\nago\public\assets\sass\app.scss */"./public/assets/sass/app.scss");
     499__webpack_require__("./resources/js/app.js");
     500module.exports = __webpack_require__("./public/assets/sass/app.scss");
    501501
    502502
  • resources/assets/js/custom.js

    rc6b84df r4b7e2d3  
    108108    });
    109109
     110    function hasNew(response) {
     111
     112        for(var i=0; i<response.length; i++) {
     113            if(!response[i].isRead) {
     114                return true;
     115            }
     116        }
     117
     118        return false;
     119    }
     120
    110121    function notifications() {
    111122
     
    160171        });
    161172    }
     173
     174    $(".dropdown-notifications-unread .nav-unread").hide();
     175    notifications();
     176    setInterval(function() { notifications(); }, 5000);
     177
     178    $(".dropdown-notifications-wrapper").click(function() {
     179        $(".dropdown-notifications-unread .nav-unread").hide();
     180    });
    162181
    163182    $(document).on('click', '#btn-layout-builder', function () {
Note: See TracChangeset for help on using the changeset viewer.