Skip to content

Commit 46c7513

Browse files
Bug fixed
1. Updatted FontAweosme icona and change version 2. Add Smooth Scroll with sticky header 3. Clear cache with CTRL + P
1 parent f4c653e commit 46c7513

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

astroid/astroid-framework/assets/js/astroid.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ var AstroidAdmin = function AstroidAdmin() {
633633
$('.astroid-loading').fadeIn(500);
634634
} else {
635635
$('.astroid-loading').fadeOut(500);
636-
}
636+
}
637637
};
638638
};
639639

@@ -649,6 +649,10 @@ var Admin = new AstroidAdmin();
649649
$("#astroid-form").submit();
650650
return false
651651
}
652+
if ((e.metaKey || e.ctrlKey) && ( String.fromCharCode(e.which).toLowerCase() === 'p') ) {
653+
$("#clear-cache").click();
654+
return false
655+
}
652656
});
653657
getGoogleFonts();
654658
initAstroidUploader();

astroid/astroid-framework/assets/js/astroid.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

astroid/astroid-framework/assets/json/fa-icons.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

astroid/astroid-framework/framework/constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class AstroidFrameworkConstants {
1212

1313
public static $astroid_version = '2.2.1';
14-
public static $fontawesome_version = '5.8.1';
14+
public static $fontawesome_version = '5.9.0';
1515
public static $animatecss_version = '3.7.0';
1616
public static $forum_link = 'https://www.joomdev.com/forum/astroid-framework';
1717
public static $documentation_link = 'https://docs.joomdev.com/category/astroid-user-manual/';

astroid/astroid-template-zero/index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
$template->loadTemplateJS('vendor/smooth-scroll.polyfills.min.js');
5757
$smoothashell = '
5858
var scroll = new SmoothScroll(\'a[href*="#"]\', {
59-
speed: '.$smooth_scroll_speed.'
59+
speed: '.$smooth_scroll_speed.',
60+
header: ".astroid-header"
6061
});
6162
';
6263
$template->addScriptDeclaration($smoothashell);

0 commit comments

Comments
 (0)