mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-19 19:23:02 +05:30
(refactor): minor comment additions and space formatting
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
//---controls the bottom floating bar behaviour
|
||||
|
||||
const floatingBar = document.getElementById("floating-bar");
|
||||
const searchBar = document.getElementById("searchbar");
|
||||
const shareBtn = document.getElementById("sharebutton");
|
||||
@@ -101,7 +102,6 @@ function perform_search(searchInput, searchDef, searchRes) {
|
||||
dataType: 'json',
|
||||
data: { keyword: searchString },
|
||||
success: function(response) {
|
||||
console.log(response);
|
||||
if(response.results && response.results === "none") {
|
||||
inject_no_results(response, searchString);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
//---controls basic keyboard shotcuts
|
||||
//basePath const is defined in floatingbar-config
|
||||
|
||||
let pressedKeys = {};
|
||||
|
||||
document.addEventListener('keydown', function(event) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//---controls the page preloader behaviour
|
||||
|
||||
window.addEventListener("load", function(){
|
||||
$('#preloader').addClass('hidden');
|
||||
});
|
||||
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
//---controls page routing (url & links)
|
||||
|
||||
$host = $_SERVER['HTTP_HOST'];
|
||||
$uri = parse_url($_SERVER['REQUEST_URI'])['path'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user