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(' |
|
253 | var sub_div = $('<div/>').addClass('container-fluid'); | |
254 |
var col1 = $('<div/>').addClass(' |
|
254 | var col1 = $('<div/>').addClass('col-md-6'); | |
255 |
var col2 = $('<div/>').addClass(' |
|
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