mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Updating Blog Archives scripts
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
/** archives **/
|
||||
(function ($) {
|
||||
$(function() {
|
||||
$('.archives ul.years li.previous').each(function() {
|
||||
$(this).click(function(ev) {
|
||||
$(function () {
|
||||
$('.archives ul.years li.previous').each(function () {
|
||||
$(this).click(function (ev) {
|
||||
if (!ev || $(ev.target).not("a").length) {
|
||||
$(this).toggleClass("open");
|
||||
$(this).find("h4>span").toggle();
|
||||
$(this).children("ul").toggle();
|
||||
}
|
||||
});
|
||||
|
||||
//$(this).hoverClassIfy();
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
|
||||
@@ -1 +1 @@
|
||||
!function($){$((function(){$(".archives ul.years li.previous").each((function(){$(this).click((function(ev){ev&&!$(ev.target).not("a").size()||($(this).toggleClass("open"),$(this).find("h4>span").toggle(),$(this).children("ul").toggle())}))}))}))}(jQuery);
|
||||
!function(t){t(function(){t(".archives ul.years li.previous").each(function(){t(this).click(function(i){i&&!t(i.target).not("a").length||(t(this).toggleClass("open"),t(this).find("h4>span").toggle(),t(this).children("ul").toggle())})})})}(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user