Skip to content

Commit 25f9dd3

Browse files
Deleted Unused code
1 parent e089f96 commit 25f9dd3

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

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

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -693,36 +693,6 @@ var Admin = new AstroidAdmin();
693693
var _id = _field.data('typography-field');
694694
var _preview = $('.astroid-typography-preview.' + _id + '-astroid-typography-preview');
695695
var _property = _field.data('typography-property');
696-
$("#"+_id+"IsMobile").click(function(e){
697-
e.preventDefault();
698-
$(".Mobile").css("display","block");
699-
$(".Laptop").css("display","none");
700-
$(".Desktop").css("display","none");
701-
$("#"+_id+"IsMobile").addClass("res-active");
702-
$("#"+_id+"IsLaptop").removeClass("res-active");
703-
$("#"+_id+"IsDesktop").removeClass("res-active");
704-
});
705-
706-
$("#"+_id+"IsLaptop").click(function(e){
707-
e.preventDefault();
708-
$(".Mobile").css("display","none");
709-
$(".Laptop").css("display","block");
710-
$(".Desktop").css("display","none");
711-
$("#"+_id+"IsMobile").removeClass("res-active");
712-
$("#"+_id+"IsLaptop").addClass("res-active");
713-
$("#"+_id+"IsDesktop").removeClass("res-active");
714-
});
715-
716-
$("#"+_id+"IsDesktop").click(function(e){
717-
e.preventDefault();
718-
$(".Mobile").css("display","none");
719-
$(".Laptop").css("display","none");
720-
$(".Desktop").css("display","block");
721-
$("#"+_id+"IsMobile").removeClass("res-active");
722-
$("#"+_id+"IsLaptop").removeClass("res-active");
723-
$("#"+_id+"IsDesktop").addClass("res-active");
724-
});
725-
726696
var _unit = _field.data('unit');
727697

728698
if (_property == 'font-style') {

0 commit comments

Comments
 (0)