##// END OF EJS Templates
Merge pull request #7320 from Carreau/narrow-vp...
Brian E. Granger -
r19723:e75d1835 merge
parent child Browse files
Show More
@@ -250,9 +250,9 b' define(['
250 var build_div = function (title, shortcuts) {
250 var build_div = function (title, shortcuts) {
251 var i, half, n;
251 var i, half, n;
252 var div = $('<div/>').append($(title));
252 var div = $('<div/>').append($(title));
253 var sub_div = $('<div/>').addClass('hbox');
253 var sub_div = $('<div/>').addClass('container-fluid');
254 var col1 = $('<div/>').addClass('box-flex1');
254 var col1 = $('<div/>').addClass('col-md-6');
255 var col2 = $('<div/>').addClass('box-flex1');
255 var col2 = $('<div/>').addClass('col-md-6');
256 n = shortcuts.length;
256 n = shortcuts.length;
257 half = ~~(n/2); // Truncate :)
257 half = ~~(n/2); // Truncate :)
258 for (i=0; i<half; i++) { col1.append( build_one(shortcuts[i]) ); }
258 for (i=0; i<half; i++) { col1.append( build_one(shortcuts[i]) ); }
General Comments 0
You need to be logged in to leave comments. Login now