This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 128128}
129129
130130/* Allow disabling of icons */
131- .no-toggle .ui-splitbar-icon {
131+ .no-toggle .ui-splitbar-toggle {
132132 display : none;
133133}
134134
Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ angular.module('ui.layout', [])
688688
689689 //icon <a> elements
690690 var prevButton = angular . element ( element . children ( ) [ 0 ] ) ;
691- var afterButton = angular . element ( element . children ( ) [ 1 ] ) ;
691+ var afterButton = angular . element ( element . children ( ) [ 2 ] ) ;
692692
693693 //icon <span> elements
694694 var prevIcon = angular . element ( prevButton . children ( ) [ 0 ] ) ;
@@ -947,8 +947,9 @@ angular.module('ui.layout', [])
947947 var children = parent . children ( ) ;
948948 var index = ctrl . indexOfElement ( element ) ;
949949 var splitbar = angular . element ( '<div ui-splitbar>' +
950- '<a><span class="ui-splitbar-icon"></span></a>' +
951- '<a><span class="ui-splitbar-icon"></span></a>' +
950+ '<a><span class="ui-splitbar-icon ui-splitbar-toggle"></span></a>' +
951+ '<a><span class="ui-splitbar-icon ui-splitbar-handle ui-splitbar-icon-up"></span></a>' +
952+ '<a><span class="ui-splitbar-icon ui-splitbar-toggle"></span></a>' +
952953 '</div>' ) ;
953954 if ( 0 < index && ! ctrl . hasSplitbarBefore ( scope . container ) ) {
954955 angular . element ( children [ index - 1 ] ) . after ( splitbar ) ;
You can’t perform that action at this time.
0 commit comments