Rename "modal-*" classes to "tc-modal-*"

Part of #764
This commit is contained in:
Jermolene
2014-08-28 17:34:02 +01:00
parent 9173e944df
commit 54591100b5
4 changed files with 20 additions and 20 deletions
+6 -6
View File
@@ -50,12 +50,12 @@ Modal.prototype.display = function(title,options) {
this.modalCount++;
this.adjustPageClass();
// Add classes
$tw.utils.addClass(wrapper,"modal-wrapper");
$tw.utils.addClass(modalBackdrop,"modal-backdrop");
$tw.utils.addClass(modalWrapper,"modal");
$tw.utils.addClass(modalHeader,"modal-header");
$tw.utils.addClass(modalBody,"modal-body");
$tw.utils.addClass(modalFooter,"modal-footer");
$tw.utils.addClass(wrapper,"tc-modal-wrapper");
$tw.utils.addClass(modalBackdrop,"tc-modal-backdrop");
$tw.utils.addClass(modalWrapper,"tc-modal");
$tw.utils.addClass(modalHeader,"tc-modal-header");
$tw.utils.addClass(modalBody,"tc-modal-body");
$tw.utils.addClass(modalFooter,"tc-modal-footer");
// Join them together
wrapper.appendChild(modalBackdrop);
wrapper.appendChild(modalWrapper);