mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
remove unnecessary code from changing views
This commit is contained in:
parent
70ac4807b7
commit
9d76b8fe94
Binary file not shown.
@ -196,11 +196,9 @@ $(function(){
|
||||
if ( ! isIconEnabled(origin) ) {
|
||||
var displayContent = "Changing Of Views Disabled";
|
||||
} else {
|
||||
var myID = origin.attr('id');
|
||||
setSortOrder();
|
||||
var displayContent = $("#tooltipviews").html();
|
||||
$("#tooltipviews").attr("data-backup",displayContent);
|
||||
$("#tooltipviews").html("");
|
||||
$("#tooltipviews").html(""); // Because I'm using id's instead of classes
|
||||
}
|
||||
instance.content(displayContent);
|
||||
},
|
||||
@ -209,7 +207,6 @@ $(function(){
|
||||
$(".sortButton,.dirButton").click(function() { changeSortOrder(this.id,$(this).attr("class")); });
|
||||
},
|
||||
functionAfter: function(instance,helper) {
|
||||
$("#tooltipviews").html($("#tooltipviews").attr("data-backup"));
|
||||
setSortOrder();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user